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
Christopher Jeffrey
d4685e6e6c
utils: start using bstr.
2018-03-29 21:56:46 -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
658d3db928
encoding: refactor. remove bip70.
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
636d66a5c7
bcoin: use bcrypto. remove crypto module.
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
Christopher Jeffrey
40bb08aed6
wallet: better/less property tracking.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
fe261db706
wallet: track account balances.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
175f169504
test: add more wallet double spend tests.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
c16e85e485
wallet: all async methods.
2018-03-29 21:56:43 -07:00
Christopher Jeffrey
c6d7c43485
wallet: tests passing.
2018-03-29 21:56:43 -07:00
Christopher Jeffrey
55f5ff9493
wallet: use batches.
2018-03-29 21:56:43 -07:00
Christopher Jeffrey
969fd8f704
wallet-rewrite
2018-03-29 21:56:43 -07:00
Node
bbafb98fcc
test-tx: add tx tests
2017-11-08 18:25:00 +04:00
Buck
dd69f18cc3
fixed lint errors
2017-11-05 14:48:37 -08:00
Buck
c51cc88ef6
PR cleanup
2017-11-05 14:46:02 -08:00
Buck
48d41ed55d
tests for outpoint
2017-11-03 18:42:33 -07:00
Buck
68b3ddf482
fixed outpoint bug and added first test
2017-11-03 14:51:37 -07:00
Christopher Jeffrey (JJ)
af64e2dd0a
Merge pull request #324 from tuxcanfly/test-coin
...
Primitives tests: coin
2017-10-18 22:26:10 -07:00
Christopher Jeffrey (JJ)
783f57e4a9
Merge pull request #291 from tuxcanfly/test-address
...
Primitives tests - addresses
2017-10-18 22:25:12 -07:00
Christopher Jeffrey (JJ)
c1144a9955
Merge pull request #327 from nodar-chkuaselidze/test-input
...
Tests: Input
2017-10-18 13:21:41 -07:00
Christopher Jeffrey (JJ)
1a3c5e8a22
Merge pull request #323 from tuxcanfly/test-headers
...
Primitives tests - headers
2017-10-18 13:17:46 -07:00
Node
3a802cacd6
cli: accept bech32 addresses in getTX/getCoin
2017-10-16 23:49:02 +04:00
Javed Khan
b9f19038ba
tests: add coin tests
2017-09-28 19:46:54 +05:30
Javed Khan
7b73402377
tests: add headers tests
2017-09-27 19:54:45 +05:30
Node
104dd9344b
test: add input test
2017-09-25 23:33:05 +04:00
Node
05e069dc56
test: Add input tests
2017-09-20 22:33:25 +04: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
4046202b3f
lint: minor.
2017-09-04 16:46:47 -07:00
Javed Khan
4516adca3b
Delete unnecessary test data file
2017-09-04 16:12:05 +05:30
Javed Khan
dc9b1b6b51
Fix wrong test data - p2sh address
2017-09-04 16:08:39 +05:30
Christopher Jeffrey
bc25bdb016
workers: drop all static methods for packets.
2017-09-02 21:09:22 -07:00
Christopher Jeffrey
d871751bba
test: use utils for gcs test.
2017-09-01 20:56:42 -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
87b8ba4ec4
test: minor.
2017-08-25 16:22:52 -07:00
Christopher Jeffrey
b0a75baa5a
test: minor.
2017-08-25 15:06:12 -07:00
Javed Khan
5bfbab2bb7
p2sh test case: Use fromScript
2017-08-25 20:14:19 +05:30
Javed Khan
6a038930f5
tests: Add address tests
2017-08-25 20:14:19 +05:30
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
5415147d4e
encoding: encoding improvements for base128 varints.
2017-08-17 10:55:30 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs.
2017-08-17 09:56:57 -07:00
Christopher Jeffrey
453bc82a8d
test: remove forEach loop in tx-test.
2017-08-14 17:51:16 -07:00
Christopher Jeffrey
e8c375b372
test: remove useless .fill() calls.
2017-08-13 14:25:02 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function.
2017-08-13 13:15:56 -07:00