Mark Tyneway
8ffc3c32ac
test: getrawtransaction verbose=true
2020-05-21 17:33:02 -07:00
Boyma
ed53f5f885
Merge pull request #254 from tynes/expose-service-names
...
http: expose human readable service names
2020-03-26 15:22:18 -04:00
Christopher Jeffrey
5a34dd6633
chain/block/mining: implement a more foolproof pow (WIP).
2019-11-04 03:57:19 -08:00
Mark Tyneway
066e4c9db7
test: localservicenames in rpc getnetworkinfo
2019-09-25 14:16:49 -07:00
Mark Tyneway
62b4de584c
rpc: update node rpc validateaddress
...
This PR updates the node rpc validateaddress to
better seperate the wallet and the node. The rpc
was returning ismine and iswatch only. These values
were moved to the wallet rpc method getaddressinfo.
This corresponds to a change in bitcoind and bcoin.
The updated validateaddress rpc returns the values:
- isvalid
- address
- ismine
- iswatchonly
- isscript
- isspendable
- witness_version
- witness_program
See PR in bcoin: https://github.com/bcoin-org/bcoin/pull/731
See PR in bitcoind: https://github.com/bitcoin/bitcoin/pull/10583
2019-04-08 17:33:30 -07:00
kilpatty
b4ea294fc9
test: fix values from updated block reward
2019-04-05 19:53:12 -07:00
Christopher Jeffrey
46334467b9
test: switch to bsert for everything.
2019-04-01 07:42:12 -07:00
Christopher Jeffrey
214d117b10
test: update values and test vectors for testnet4.
2019-04-01 07:27:39 -07:00
Mark Tyneway
ff133262ae
ci: add configuration and npm scripts
...
This commit adds CI using Circle CI configs copied directly from
bcoin at commit df1e8c06216f919d90c86cc89784f4c65d66eff3 and the
following npm scripts for running it: `test-ci` and `lint-ci`.
It also bumps the Node.js test timeout to prevent timeouts in the
CI environment.
2019-03-28 12:30:32 -07:00
Christopher Jeffrey
13ae3f1d0f
rpc: expose airdrops for block templates.
2019-01-21 22:06:26 -08:00
Christopher Jeffrey
40157aa468
hsd: several hard-forks.
...
- Change PoW to KMAC+BLAKE2b-256, remove Cuckoo Cycle.
- Change to a 10 minute block time (updates other constants,
including the halving interval).
- Add `filterRoot` to block header.
- Add a separate witnessRoot.
The last change fixes our original misdesigned segwit, which made syncing a
non-witness chain more difficult than it needed to be. The previous design
merkelized the transaction itself and there was only one merkle root, which was
essentially a witness root. This required "witness data hashes" to be requested
for each block in a non-witness sync. Using a separate tree is just a better
design in the end.
2019-01-21 22:06:25 -08:00
Christopher Jeffrey
94d59e9234
http: fix tests.
2018-08-01 20:09:25 -07:00
Christopher Jeffrey
d4782e0cc1
hskd: switch to buffer maps and structs.
2018-07-15 06:22:25 -07:00
Christopher Jeffrey
50afbd7e28
test: fix chain value checks.
2018-07-14 12:28:41 -07:00
Christopher Jeffrey
285ac862b7
consensus: implement permissionless claim proofs.
2018-07-07 16:33:56 -07:00
Christopher Jeffrey
674d1d6003
net: fix various p2p serialization issues.
2018-06-19 09:32:47 -07:00
Christopher Jeffrey
a3acced655
block: switch to a single merkle root.
2018-06-15 01:38:59 -07:00
Christopher Jeffrey
a397ea4c6e
chain: switch to 5 minute block time. add reserved field in header. closes #10 and #11 .
2018-06-08 19:30:38 -07:00
Christopher Jeffrey
6bdc73b50e
chain: switch to new name tree. commit only 160 bit name hashes.
2018-05-28 09:02:54 -07:00
Christopher Jeffrey
baf9f136bf
test: fix node-test.
2018-05-01 02:56:37 -07:00
Christopher Jeffrey
1e562be4cd
resource: use dns label compression.
2018-04-26 02:31:26 -07:00
Christopher Jeffrey
05bfd80a73
rules: remove cold output.
2018-04-25 20:01:06 -07:00
Christopher Jeffrey
9e52d2f518
test: get tests passing.
2018-03-13 23:21:17 -07:00
Christopher Jeffrey
add3235d5b
hsk: no more little-endian hashes. add outputs to genesis block.
2018-03-02 19:26:21 -08:00
Christopher Jeffrey
02c193b012
wallet: always use separate http server.
2017-12-12 08:47:39 -08:00
Christopher Jeffrey
218b03f1e8
utils: remove dependence on co.
2017-11-01 14:13:07 -07:00
Christopher Jeffrey
894ad373ac
wallet: get server working.
2017-10-26 12:03:45 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js.
2017-10-26 04:07:48 -07:00
Christopher Jeffrey
8a409a6969
wallet/bcoin: stop tracking network everywhere.
2017-10-20 06:04:40 -07:00
Christopher Jeffrey
077c6883a1
wallet: all async methods.
2017-10-19 02:07:26 -07:00
Christopher Jeffrey
0abc10f09b
wallet-rewrite
2017-10-19 02:06:14 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions.
2017-09-06 22:38:23 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code.
2017-09-06 10:20:40 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
...
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Christopher Jeffrey
a6b2c23a41
script: start using scriptnum implementation.
2017-08-20 15:13:17 -07:00
Christopher Jeffrey
3a7484d782
test: refactor assertions.
2017-08-11 18:25:54 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods.
2017-08-10 11:17:10 -07:00
Christopher Jeffrey
8146fb28f0
test: use better asserts.
2017-08-09 15:38:33 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests.
2017-08-09 15:28:03 -07:00
Christopher Jeffrey
a085214d54
test: refactor several tests. clean up test data.
2017-08-02 00:19:08 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9c87804b08
test: refactor walletdb usage.
2017-07-25 15:56:02 -07:00
Christopher Jeffrey
15ba37099e
test: enable workers for node.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00