Commit Graph

50 Commits

Author SHA1 Message Date
Braydon Fuller
a3a34dbfe6
test: remove test assert util and use bsert 2019-06-05 12:11:57 -07:00
Braydon Fuller
efb2551555
indexer: fix reset and reorg handling 2019-05-15 12:11:37 -07:00
Braydon Fuller
b4be8574e5
test: improve addrindex tests
- Vectors for p2wsh and p2sh.
- Edge case for witness program.
- Improve determinism by not comparing mtime.
- Various edge and error cases.
2019-05-15 12:11:32 -07:00
Braydon Fuller
b37ac59973
test: add utility to wait for values 2019-05-15 12:11:05 -07:00
Javed Khan
05794f5cb3
indexer: add module indexer
module indexer introduces a extensible architecture for indexing the
chain. It provides a base class which handles syncing with the chain,
handling re-orgs, interruptions, dynamic toggling, etc. TXIndexer
and AddrIndexer are provided for indexing transactions and addresses,
using the same flags as before i.e --index-tx and --index-address.
Indexes are stored in a different database and can be maintained
independently of the chain.
2019-05-15 12:02:41 -07:00
Braydon Fuller
54383578fb
test: configurable and unique test directory path
- Multiple parallel runs of the same test will not conflict
  as a unique identifier is added to the test directory.
- The base test directory can be configured for various
  environments, and can be changed via the environment
  variable `TEMP`, see the implementation of `os.tmpdir()`
  for specific details.
2019-04-11 10:15:51 -07:00
Braydon Fuller
8435a116f1
blockstore: add file block storage 2019-04-08 13:18:47 -07:00
Matthew Zipkin
5751b8c330
rpc: multiple fixes and tests
wallet-rpc: fix listsinceblock height

wdb: fix getWalletPaths() always return nothing

wallet: add unlockCoins() for lockunspent rpc

wallet-rpc: correct num args for some rpc calls

wallet-rpc: fix args for importwallet and importprunedfunds

wallet-rpc: importprunedfunds error misleading

wallet-rpc: importPubkey args

wallet-rpc: listsinceblock arg count error

wallet-rpc: listTransactions ignoring account param

wallet-rpc: better sendMany error msgs

wallet-rpc: sendMany subtractfee is bool not obj

wallet-rpc: dont check if not implemented

test: add rpc-test
2019-03-11 14:36:13 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
cd7c63d95d
wallet: always use separate http server. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
73664efcd0
bcoin: classify everything else. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
405feef9ce
bcoin: clean up requires. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
daa55a05bc
primitives: classify primitives. 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
401829db5a
node: start using blgr and bcfg. 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
e92b1f4cec
utils: start using bfilter. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
3a722481f9
utils: use bfile over utils/fs. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
f3b94ded65
wallet/bcoin: stop tracking network everywhere. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
3c2c8ea955
hd: pass purpose number to bip44 derivation. drop bip45 support. 2017-08-26 02:41:27 -07:00
Christopher Jeffrey
d33443186c
minor: lint. 2017-08-13 07:52:17 -07:00
Christopher Jeffrey
2e8d8f59c6
test: change file naming convention. 2017-08-12 20:29:27 -07:00
Christopher Jeffrey
e37d299049
test: create better interface for block/tx test vectors. 2017-08-12 19:38:58 -07:00
Christopher Jeffrey
5a751d9ba7
test: add some new functions to test/util/common. 2017-08-12 18:12:45 -07: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
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
860e51e390
test: refactor and clean up a few tests. 2017-08-01 15:17:17 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 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
492c05c378
coinview: refactor api. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
6f1f81dcbe
refactor: lint. 2017-07-25 11:21:43 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
9219e23d8c
hd/wallet: add bip48 arg to prepare for bip48 support. see #238. 2017-07-23 07:22:53 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -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
2ef4d137e6
pkg: switch from jshint to eslint. 2017-06-24 04:45:46 -07:00
Christopher Jeffrey
aa7e550f91
hd: do not store mnemonic on hd private key. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
70a0147080
test: fix chain test. 2017-03-14 06:09:30 -07:00
Christopher Jeffrey
fc2827a5bd
test: add coins test. 2017-02-01 11:56:45 -08:00
Christopher Jeffrey
cc16b48cf4
test: tx sigops tests. more chain tests. 2017-01-31 16:27:39 -08:00
Christopher Jeffrey
231d08b1c4
test: add node-context. 2017-01-30 19:44:50 -08:00
Christopher Jeffrey
bc951e25a9
test: use memwallet for mempool test. 2017-01-30 18:56:56 -08:00
Christopher Jeffrey
df5228c849
test: node/chain tests. add memwallet. 2017-01-30 18:37:56 -08:00