Braydon Fuller
2b2e53d83d
Merge pull request #550 from pinheadmz/rpcfixandtest
...
RPC: fix several wallet RPC calls and add RPC tests
2019-03-11 15:09:26 -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
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
Matthew Zipkin
e40e1c263c
wallet-test: missing output error
2019-03-01 10:50:14 -08:00
Braydon Fuller
ea1c6becb5
Merge pull request #700 pinheadmz/blockjson
...
block: inspect() expects buffer from getCommitmentHash()
2019-02-22 18:20:01 -08:00
Matthew Zipkin
67a258ea74
block: get wit-commit as buffer
2019-02-22 18:08:22 -08:00
Nodar Chkuaselidze
f0023cb489
test: mempool should reject non-standard p2sh
2019-02-14 23:47:19 +04:00
Braydon Fuller
bf32e86abe
test: independent watch-only tests and assert error
2019-02-11 14:31:05 -08:00
Matthew Zipkin
1696b3c7bb
wallet: require pubkey for watchonly
2019-02-11 14:14:33 -08:00
Javed Khan
7c64fd845c
Merge pull request #684 from braydonf/update-tests
...
Update transaction and script tests
2019-02-11 21:38:44 +05:30
Braydon Fuller
37fc9a78e4
script: update script tests and behavior
...
References:
- https://github.com/bitcoin/bitcoin/pull/12425
- https://github.com/bitcoin/bitcoin/pull/12167
- https://github.com/bitcoin/bitcoin/pull/10699
2019-02-01 16:32:39 -08:00
Braydon Fuller
efa78100e0
script: update tx standardness rules and more tx tests
...
References:
- https://github.com/bitcoin/bitcoin/pull/11423
- https://github.com/bitcoin/bitcoin/pull/12600
- https://github.com/bitcoin/bitcoin/pull/12082
Trivial References:
- https://github.com/bitcoin/bitcoin/pull/12393
- https://github.com/bitcoin/bitcoin/pull/6539
- https://github.com/bitcoin/bitcoin/pull/10742
- ecb11f561c
2019-02-01 16:32:31 -08:00
Node
d86033fa16
test: update licenses for test files
2019-02-01 16:24:45 -08:00
Braydon Fuller
fa877503a4
blockchain: enable segwit for regtest
2019-01-31 13:03:59 -08:00
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