Commit Graph

4766 Commits

Author SHA1 Message Date
Christopher Jeffrey
57181f27ee
walletdb: increase bloom filter size to 3m addrs. 2017-10-18 12:58:22 -07:00
Christopher Jeffrey
bfde70f2ab
db: improve iterator perf. 2017-10-18 12:58:22 -07:00
Christopher Jeffrey
4d8ca8c16f
db: change iterator api to be more loop-friendly. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
1c1e429383
fs/co: add fs.exists and wait for promise on co.clearInterval. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
aeb3d8f352
http: minor fixes. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
86746e2bd0
siphash: add siphash32 and siphash64. 2017-10-18 12:58:21 -07:00
Node
3a802cacd6
cli: accept bech32 addresses in getTX/getCoin 2017-10-16 23:49:02 +04:00
Javed Khan
a1b5cdc88a docs: add workers-timeout under worker options 2017-10-17 00:45:38 +05:30
Buck Perley
54b930baba Merge pull request #333 from nodar-chkuaselidze/docs/clean-up
Docs: Update
2017-10-16 11:52:23 -07:00
Daniel McNally
126a24479a Create distinct --key & --watch
Creates a separate --key argument to be separate from --watch and avoid confusion.
2017-10-13 13:25:38 -04:00
Daniel McNally
3104220f1b Allow --watch without accountKey value
Fixes a bug with `cli wallet create` where if no value is specified for the --watch option, the accountKey is assigned a value of "true" which is invalid and causes errors downstream. This fix leaves accountKey as null, and the resulting functionality appears to match wallet creation via HTTP request where `watchOnly` is true and `accountKey` is not given a value.
2017-10-12 02:49:12 -04:00
Node
d76ca37d0d
rpcclient: check body.error first 2017-10-11 16:23:37 +04:00
Node
89716b2edd
docs: reorganize, update links 2017-10-09 21:18:31 +04:00
Node
b40ac6e081
http-client: fix returned errors 2017-10-05 18:52:14 +04:00
Daniel McNally
4f317992f5 Fixes to TX & Block confirmations property
TX `confirmations` property set to 0 for unconfirmed transactions. Block
`confirmations` property set to -1 for orphaned blocks. Fixing to add +1
to `confirmations` to match bitcoind behavior and corresponding bcoin
rpc  methods - block or tx at tip of main chain starts with 1
confirmation (not zero).
2017-10-02 00:58:48 -07:00
Daniel McNally
c2cef86296 Adding 'confirmations' property to block getJSON
Adds a 'confirmations' property to the JSON returned by `cli tx [hash]`
as well as the Rest `/tx/:hash` call by subtracting block height from
chain height
2017-09-28 23:41:13 -04:00
Daniel McNally
0f68427778 Adding 'confirmations' property to TX getJSON
Adds a 'confirmations' property to the JSON returned by cli tx [hash] as
well as the REST '/tx/:hash' call by subtracting TX height from chain
height
2017-09-28 22:47:50 -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
Christopher Jeffrey
ca4e938a75
mempool: fix orphan resolution edge case. 2017-09-26 20:22:54 -07:00
Christopher Jeffrey
1aa78e2248
mempool: sanitize after reorg. 2017-09-26 17:20:16 -07:00
Christopher Jeffrey
459a9f25f4
chain/mempool: optimize coinview handling. fix mempool orphan edge case. 2017-09-26 13:07:01 -07:00
Node
104dd9344b
test: add input test 2017-09-25 23:33:05 +04:00
Javed Khan
966ac168aa docs: update common options related to workers 2017-09-21 20:37:49 +05:30
Node
05e069dc56
test: Add input tests 2017-09-20 22:33:25 +04:00
Christopher Jeffrey
17e473fda5
upnp: minor. 2017-09-19 17:52:19 -07:00
Bucko
e27408dc58 getCoin was unnecessarily passing account 2017-09-19 15:43:34 -07:00
Bucko
d9ebfcc2f9 coin lock methods weren't handling parameters correctly in http client 2017-09-19 14:28:26 -07:00
Christopher Jeffrey
991213d303
chain: fix typo. 2017-09-19 13:30:53 -07:00
Christopher Jeffrey
4c18dc5d0e
chain/util: minor style change. 2017-09-19 13:10:40 -07:00
Christopher Jeffrey
4150623eb0
v1.0.0-beta.15 2017-09-19 12:51:07 -07:00
Bucko
e3ac717ada use req.wallet for lock coin endpoints 2017-09-18 18:55:44 -07:00
Christopher Jeffrey
fdca08b498
chain: minor. 2017-09-06 23:06:41 -07:00
Christopher Jeffrey
f63c19cb19
bn: stop using bn#cmp. 2017-09-06 22:51:06 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
d78df4b79c
miner: minor. 2017-09-06 14:21:23 -07:00
Christopher Jeffrey
eb5469088c
chain: refactor checkpoints handling. other misc refactoring. 2017-09-06 14:17:39 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
79d1bbd823
bench: fix coins benchmarks. 2017-09-05 11:46:14 -07:00
Christopher Jeffrey
83178e9333
encoding: minor. 2017-09-05 09:41:02 -07:00
Christopher Jeffrey
4046202b3f
lint: minor. 2017-09-04 16:46:47 -07:00
Christopher Jeffrey
a2c3e70f09
bip151: use buffer pool. 2017-09-04 13:12:10 -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
7e456595de
workers: minor. 2017-09-03 22:16:06 -07:00
Christopher Jeffrey
d00e924965
hd: use buffer pool for key derivation. 2017-09-03 11:29:59 -07:00
Christopher Jeffrey
45e41b1bb4
writer: alloc pool lazily. 2017-09-03 00:56:15 -07:00
Christopher Jeffrey
a543648310
writer: use 100kb pool for sighashing. 2017-09-03 00:05:47 -07:00
Christopher Jeffrey
e0eb1cdbe3
refactor: remove all duck typing. 2017-09-02 21:29:38 -07:00