Commit Graph

639 Commits

Author SHA1 Message Date
Javed Khan
6f1a561db5
Merge pull request #641 from nodar-chkuaselidze/fix/mempool-index
mempool: reflect spent coins in mempool coinview.
2019-01-21 18:52:34 +05:30
Orfeas Litos
7a9023f388
Add test for KeyRing.fromMultisigScript() 2018-12-09 22:11:48 +00:00
Christopher Jeffrey
0b70a940a3
test: get tests passing in chrome. 2018-12-08 02:40:49 -08:00
Nodar Chkuaselidze
32cba1bf4a
mempool: reflect spent coins in mempool coinview.
Currently coinview does not account for spent coins in the mempool,
This does not create problems because we have additional checks in
right places which detect double spends, but technically
coinview should help you detect double spent in the mempool as well.
This way it will be compatible with chain.getCoinView.

getSpentView will still return all outputs that are available
in the mempool. (This could also return spentView from indexers if
available, this method is used by `signrawtransaction`.)
2018-11-25 23:32:13 +04:00
Matthew Zipkin
7d2caa072b
pool: fixes getBroadcasted() error 2018-08-31 09:30:40 -07:00
Christopher Jeffrey
f10d7b8363
pkg: remove bn.js dependency. 2018-08-10 16:33:38 -07:00
Christopher Jeffrey
dc5b8c373d
net: properly clear timers. 2018-08-10 16:24:10 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Javed Khan
944f29fe16
test: fix get block proof equivalent time
the test was randomly failing when getProofTime returns -0. Fixed
by replacing strictEqual with ok.
2018-07-13 00:05:45 +05:30
Christopher Jeffrey
41af7acfd6
net: remove bip150/bip151 support. 2018-07-12 10:17:13 -07:00
Javed Khan
6cf81d3490
test: fix timeout for node test 2018-07-10 17:09:11 +05:30
Javed Khan
58ab9ba267
test: increase timeout for ci 2018-07-10 16:45:03 +05:30
Javed Khan
21bf114dc6
Merge pull request #491 from nodar-chkuaselidze/ci
Enable CircleCI + CodeCov for CI and Coverage respectively.
2018-07-10 15:12:41 +05:30
Matthew Zipkin
b371b3ecda test/txmeta: fix lint 2018-07-05 22:43:03 +05:30
Christopher Jeffrey (JJ)
5c26307db1
Merge pull request #467 from tuxcanfly/pow-tests
test: add pow-tests
2018-07-04 15:37:05 -07:00
Nodar Chkuaselidze
ef43dad9ee wallet-account: fix change derivation path 2018-07-03 13:03:27 +05:30
Matthew Zipkin
64ba4c7567 txmeta: fix JSON confirmations value when unconfirmed, add test 2018-07-03 11:30:50 +05:30
Javed Khan
5af767159a
test: add pow-tests 2018-06-20 11:42:13 +05:30
Nodar Chkuaselidze
ce1f1fbcb2
http-test: close wclient. 2018-06-15 02:44:53 +04:00
Christopher Jeffrey
84bae8160d
test: remove old utils tests. 2018-06-08 04:19:18 -07:00
Christopher Jeffrey (JJ)
9fb9b1c4ad
Merge pull request #440 from nodar-chkuaselidze/mtx/from-json
MTX - Recover view from JSON
2018-04-06 16:12:35 -07:00
Christopher Jeffrey (JJ)
a0333d105c
Merge branch 'master' into outpoint-tests 2018-04-06 15:56:39 -07:00
Nodar Chkuaselidze
916d42af57
mtx: receover view from JSON 2018-04-06 11:02:03 -07:00
Nodar Chkuaselidze
2fa6452002
test-tx: update bufferWriter pkg 2018-03-30 18:57:21 -07:00
Christopher Jeffrey (JJ)
7edefa6136
Merge pull request #367 from nodar-chkuaselidze/test/tx
test-tx: add tx tests
2018-03-29 22:38:46 -07:00
Nodar Chkuaselidze
179c53d97f
wdb: fix hasAccount 2018-03-29 22:07:11 -07:00
Christopher Jeffrey
febc55b586
minor: lint. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
78df4f4d84
pkg: update deps. 2018-03-29 21:56:52 -07: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
30597b83f6
wallet: refactor. 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
83e1de2e98
db: stop relying on encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
e2ef35b24b
wallet: more migrations. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
f99064750a
net: move netaddress. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
5ea218b373
bcoin: require bn.js directly. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f2abdf68cb
bcoin: move encoding constants around. 2018-03-29 21:56:49 -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
bf4f5e3bac
bcoin: bstring requires. 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
f9eba3f5a6
crypto: start using hash.digest(). 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
8332b93721
utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
cbef19047a
bcoin: cleanup. fix bsock calls. 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
fe03b42936
utils: start using bval. 2018-03-29 21:56:47 -07:00