Commit Graph

87 Commits

Author SHA1 Message Date
Sky Young
88fd2c1f0b Update tests to use fclient 2019-07-19 11:47:01 -06:00
Sky Young
153da80920 Merge remote-tracking branch 'bcoin/master' into bcoin-1.0.2 2019-07-15 15:42:15 -06:00
Braydon Fuller
a3a34dbfe6
test: remove test assert util and use bsert 2019-06-05 12:11:57 -07:00
Nodar Chkuaselidze
fc283caf80
test: close worker pool. limit workers to 2. 2019-05-19 20:17:39 +04:00
Nodar Chkuaselidze
091ba49408
pkg: upgrade deps. update ignore and rc files.
bench: remove chacha that is out of the scope, it was part of the bip151 implementation.
test: increase timeouts.
2019-05-19 18:42:07 +04:00
Braydon Fuller
bb797602e6
node: add http indexer info 2019-05-15 12:11:05 -07:00
Javed Khan
6a01409b79
Merge pull request #739 from pinheadmz/scan
node-http: require Bloom filter is loaded for `rescan` socket call
2019-04-02 18:55:53 +05:30
Matthew Zipkin
2980b4e739
http-test: socket rescan 2019-04-01 12:38:30 -07:00
Mark Tyneway
a28ffa272a
wallet rpc: add getaddressinfo rpc command
update the rpc command to better match bitcoind.
add the ismine and iswatchonly fields and
segwit related fields such as witness_version
and witness_program.
2019-03-26 16:13:18 -07:00
Mark Tyneway
26a2000b01
node rpc: update validateaddress
updates validateaddress to match the changes
in bitcoind https://github.com/bitcoin/bitcoin/pull/10583.
removes the fields ismine and iswatchonly, those
are things that a wallet would know, not a node.
adds segwit related fields, witness_version and
witness_program. test changes to the node rpc method
validateaddress with p2pkh, p2sh, p2wpkh and p2wsh addresses
2019-03-26 16:03:23 -07:00
Braydon Fuller
3ab296ce22
test: avoid port collision with a running regtest node 2019-03-06 16:55:43 -08:00
Nodar Chkuaselidze
c0fb984da6
wallet: create non-templated transaction. 2019-03-05 21:14:25 +04:00
Braydon Fuller
fa877503a4
blockchain: enable segwit for regtest 2019-01-31 13:03:59 -08:00
Christopher Jeffrey
0b70a940a3
test: get tests passing in chrome. 2018-12-08 02:40:49 -08:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Nodar Chkuaselidze
ce1f1fbcb2
http-test: close wclient. 2018-06-15 02:44:53 +04:00
Christopher Jeffrey
94fd001e88
wallet/http: require admin token. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
cd7c63d95d
wallet: always use separate http server. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
8332b93721
utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
5a23ba96d0
wallet: get server working. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
a6dc571c2d
http: use bclient. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
649f8cc171
http: stop using socket.io. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
f3b94ded65
wallet/bcoin: stop tracking network everywhere. 2018-03-29 21:56:44 -07:00
ultragtx
4e7675cc7a Litecoin: litecoinify 2017-12-08 16:03:46 +08:00
Christopher Jeffrey
c522c79c58
test: more refactoring of various tests and assert module. 2017-08-12 12:51:52 -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
6f96e64f70
test: enable worker pool for all tests. 2017-08-10 07:27:08 -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
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
2f51fd1c50
api: use satoshi values for everything. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc. 2017-06-24 14:35:10 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227. 2017-06-24 02:39:06 -07:00
Christopher Jeffrey (JJ)
3fda5bedab Merge pull request #198 from kleetus/compat/bool-validation
RPC method compatibility with bitcoin core.
2017-05-12 13:33:36 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString. 2017-04-30 07:13:36 -07:00
Chris Kleeschulte
dd49ee0761
RPC method compatibility with bitcoin core.
- RPC method param semantics, unfortunately, aren't consistent in bitcoin core, therefore bcoin can't be used as a drop in replacement if bcoin "fixes the glitch".
- To avoid breaking bcoin's current api, validation of bool includes integers 0 and 1 as false and true, respectively.
- The effect of this is to allow getRawTransaction to work with older client code.
2017-04-21 13:14:33 -04:00
Christopher Jeffrey
c0e4c169ba
http: more tests. 2017-03-15 20:38:04 -07:00
Christopher Jeffrey
1a3dcbd277
test: add some more rpc tests. 2017-03-15 07:21:14 -07:00