Christopher Jeffrey
46b34677f1
address/wallet: refactor usage of Address.getHash.
2017-05-25 23:27:37 -07:00
Christopher Jeffrey
e8fd4db0d6
network: fix isNetwork.
2017-05-25 23:26:20 -07:00
Christopher Jeffrey
76c20eddf1
rpc: do not use Address.getHash.
2017-05-21 21:42:35 -07:00
Christopher Jeffrey
7d61cda3aa
chain/mempool: more aggressive asserts.
2017-05-21 18:40:43 -07:00
Christopher Jeffrey
6b5cba635a
mempool: fix handleOrphans.
2017-05-21 14:45:53 -07:00
Christopher Jeffrey
1eaafb1a09
chain: minor refactor.
2017-05-21 09:05:35 -07:00
Christopher Jeffrey
75c279169c
peer: comments.
2017-05-19 22:05:46 -07:00
Christopher Jeffrey
7728a00470
node: fix entry cache option.
2017-05-19 21:05:07 -07:00
Christopher Jeffrey
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans.
2017-05-19 17:02:06 -07:00
Christopher Jeffrey
0b13452df1
net: implement peer ids.
2017-05-15 03:53:30 -07:00
Christopher Jeffrey
028fee9eee
chain: compact db after pruning.
2017-05-15 03:42:14 -07:00
Christopher Jeffrey
d9c7d7e874
rpc: fix pruneblockchain.
2017-05-15 03:23:33 -07:00
Christopher Jeffrey
612f6a987c
rpc: better errors.
2017-05-15 03:22:09 -07:00
Christopher Jeffrey
11a90dd7da
http: minor.
2017-05-15 01:13:38 -07:00
Christopher Jeffrey
27f89186a5
lowlevelup: refactor option handling.
2017-05-15 00:47:31 -07:00
Christopher Jeffrey
f0cc8eb128
chain: rename some methods. remove unused methods.
2017-05-14 22:11:55 -07:00
Christopher Jeffrey
18cadc7803
address: minor fixes.
2017-05-14 15:45:17 -07:00
Christopher Jeffrey
4812cc8ddb
address: minor.
2017-05-14 15:33:48 -07:00
Christopher Jeffrey
df4c8cc68c
http: fix block by height.
2017-05-14 15:30:14 -07:00
Christopher Jeffrey
f0bc6d5925
rpc: implement pruneblockchain.
2017-05-14 15:24:32 -07:00
Christopher Jeffrey
7089735fb0
hd: cleanup some methods.
2017-05-13 23:39:22 -07:00
Christopher Jeffrey
11a660aeab
network: add more helper functions.
2017-05-13 21:35:58 -07:00
Christopher Jeffrey
2997333122
btc: update uri for bech32 addresses.
2017-05-13 20:54:34 -07:00
Christopher Jeffrey
5ff46dd36d
wallet: more specific hd key functions.
2017-05-13 20:04:23 -07:00
Christopher Jeffrey
7496cf8d47
networks: more network uniqueness.
2017-05-13 19:55:21 -07:00
Christopher Jeffrey
fa5f987775
address: fix bech32 hrp check.
2017-05-13 18:57:40 -07:00
Christopher Jeffrey
6c32fbd283
networks: minor.
2017-05-13 18:36:26 -07:00
Christopher Jeffrey
6643f0a308
networks: make networks more unique.
2017-05-13 18:35:58 -07:00
Christopher Jeffrey
e55ca1eb3d
address: sanity checks.
2017-05-13 17:22:32 -07:00
Christopher Jeffrey
d64bffdd17
bech32: sanity checks.
2017-05-13 16:23:32 -07:00
Christopher Jeffrey
c1dbac3a4a
bech32: optimize bits conversion.
2017-05-13 15:51:51 -07:00
Christopher Jeffrey
44f6dd9386
address: lint.
2017-05-13 15:23:20 -07:00
Christopher Jeffrey
a9ea4e5531
bech32: refactor.
2017-05-13 15:13:42 -07:00
Christopher Jeffrey
83060ee964
bech32: rewrite and improve perf.
2017-05-13 13:54:11 -07:00
Christopher Jeffrey
c1e684dc12
rpc: throw on no addresses for miner.
2017-05-13 04:22:00 -07:00
Christopher Jeffrey
b5375f576d
rpc: minor.
2017-05-13 04:10:05 -07:00
Christopher Jeffrey
c78707ed6a
rpc: update getaddednodeinfo args.
2017-05-13 03:57:59 -07:00
Christopher Jeffrey
b790dfea6d
merkleblock: remove useless method.
2017-05-13 03:52:58 -07:00
Christopher Jeffrey
e0c2eb122b
rpc: improve some network rpc calls.
2017-05-13 03:51:01 -07:00
Christopher Jeffrey
4cf82c442f
http/client: better unauth error message.
2017-05-13 02:48:15 -07:00
Christopher Jeffrey
af0ab46f21
config/validator: add some validation methods.
2017-05-13 02:39:03 -07:00
Christopher Jeffrey
677d85de1c
node: make plugin methods optional.
2017-05-13 02:01:22 -07:00
Christopher Jeffrey
5915338407
address: improve isNull.
2017-05-13 00:34:01 -07:00
Christopher Jeffrey
41d9493cc7
minor: lint.
2017-05-13 00:31:18 -07:00
Christopher Jeffrey
168012f4c5
networks: update minimum chainworks.
2017-05-13 00:29:56 -07:00
Christopher Jeffrey
0ea341772c
address: make bech32 addrs more sane.
2017-05-13 00:21:51 -07:00
Christopher Jeffrey
5e0898d920
rpc: minor.
2017-05-12 23:15:08 -07:00
Christopher Jeffrey
1ae6205e24
wallet/http: remove admin check for now. see #185 .
2017-05-12 15:57:01 -07:00
Christopher Jeffrey
2b970e2e40
wallet/http: treat sign call tx as an mtx. fixes #149 .
2017-05-12 15:52:18 -07:00
Christopher Jeffrey
93df5e7913
template: set default commitment of zeroes.
2017-05-12 15:52:18 -07:00
Christopher Jeffrey (JJ)
a3b0d10c30
Merge pull request #169 from dionyziz/fix_promise_docs
...
Pool.hasTX does not return promise
2017-05-12 15:47:31 -07:00
Christopher Jeffrey (JJ)
724e60970a
Merge pull request #183 from murtyjones/patch-1
...
[Trivial] Adds JSHint param name
2017-05-12 13:35:41 -07:00
Christopher Jeffrey (JJ)
3fda5bedab
Merge pull request #198 from kleetus/compat/bool-validation
...
RPC method compatibility with bitcoin core.
2017-05-12 13:33:36 -07:00
Christopher Jeffrey (JJ)
405c18f080
Merge pull request #199 from homeopatchy/mempool-import-index-address-option
...
mempool: import indexAddress option.
2017-05-12 13:31:09 -07:00
Christopher Jeffrey (JJ)
bff9ea2c16
Merge pull request #214 from samlanning/is-float
...
Various improvements to float parsing
2017-05-12 13:26:26 -07:00
Christopher Jeffrey
a1d0948f2e
net: add --only option. fixes #210 .
2017-05-12 12:02:55 -07:00
Christopher Jeffrey
87b5375079
db: fix error message. fixes #168 .
2017-05-12 11:57:44 -07:00
Christopher Jeffrey
3ca70a152a
block: remove coinbase from json output.
2017-05-12 11:45:30 -07:00
Christopher Jeffrey
f2f94a800e
rpc: fix arg length check for getblock.
2017-05-12 11:44:33 -07:00
Christopher Jeffrey
993a27525e
config: expand home directory in config path.
2017-05-12 11:44:33 -07:00
Christopher Jeffrey
cecf2c7789
http: fix get block call. fixes #208 .
2017-05-12 11:44:32 -07:00
Christopher Jeffrey
c81d57c25c
client: fix wallet admin calls. see #185 .
2017-05-12 11:44:32 -07:00
Christopher Jeffrey (JJ)
27b896a4ed
Merge pull request #211 from pinheadmz/cbtxt
...
return coinbase scriptSig string in getblock requests
2017-05-12 10:48:21 -07:00
Sam Lanning
7379482c32
btc: remove unneeded radix parameter for parseFloat()
2017-05-11 15:56:10 -07:00
Sam Lanning
3e06a244dd
utils: Add clarification to util.isFloat() jsdoc
2017-05-11 14:38:36 -07:00
Matthew Zipkin
6a332bfeaf
init return cb rpc
2017-05-05 20:51:57 +00:00
Christopher Jeffrey
377017ba3d
walletdb: handle errors for plugin.
2017-05-03 19:29:45 -07:00
Christopher Jeffrey
52bf0d420a
workers: unref all streams.
2017-05-01 11:41:05 -07:00
Christopher Jeffrey
d3cfad0c64
spvnode: fix config inconsistency. fixes #195 .
2017-04-30 07:28:16 -07:00
Christopher Jeffrey
12d3ee6f95
rpc: add getblockbyheight call.
2017-04-30 07:18:16 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString.
2017-04-30 07:13:36 -07:00
Christopher Jeffrey
14ee1f8f03
address: expose bech32.
2017-04-30 06:42:21 -07:00
Christopher Jeffrey
4f09065a3e
rpc: ensure shutdown. see #188 .
2017-04-30 06:30:23 -07:00
Christopher Jeffrey
a5520abaae
http: fix tx/address and broadcast routes.
2017-04-30 06:07:18 -07:00
Christopher Jeffrey
c1d7e93477
networks: fix last checkpoint.
2017-04-30 06:06:39 -07:00
pablovidal85
fba9b46d25
mempool: import indexAddress option
2017-04-22 00:37:47 +02:00
Chris Kleeschulte
dd49ee0761
RPC method compatibility with bitcoin core.
...
- RPC method param semantics, unfortunately, aren't consistent in bitcoin core, therefore bcoin can't be used as a drop in replacement if bcoin "fixes the glitch".
- To avoid breaking bcoin's current api, validation of bool includes integers 0 and 1 as false and true, respectively.
- The effect of this is to allow getRawTransaction to work with older client code.
2017-04-21 13:14:33 -04:00
Christopher Jeffrey
6acef06cbc
address: implement bech32 addresses.
2017-04-12 23:13:29 -07:00
Christopher Jeffrey
6182df0442
config: fix mempool size and entry cache.
2017-04-12 08:23:19 -07:00
Marty Jones
3db7482e65
[Trivial] Adds JSHint param name
2017-04-10 20:05:56 -05:00
Christopher Jeffrey
a630d23a97
config: fix mb param.
2017-03-30 02:44:01 -07:00
Christopher Jeffrey
6fde0fd7d8
v1.0.0-beta.12
2017-03-26 15:18:23 -07:00
Christopher Jeffrey
0429d56534
http: fix response for wallet join (no wallet auth).
2017-03-26 15:15:29 -07:00
Christopher Jeffrey
378051c4a8
networks: fix witnesspubkeyhash for simnet.
2017-03-26 15:15:12 -07:00
Christopher Jeffrey
fd1ff3359c
v1.0.0-beta.11
2017-03-24 22:09:19 -07:00
Christopher Jeffrey
e609613519
networks: fix simnet.
2017-03-24 22:07:37 -07:00
Dionysis Zindros
6d274a1988
Pool.hasTX does not return promise
2017-03-18 19:20:28 +02:00
Christopher Jeffrey
db715036aa
http: fix chain resetting for client.
2017-03-17 07:13:24 -07:00
Christopher Jeffrey
e821eb10bf
rpc: minor refactor for gbt deps.
2017-03-17 04:32:41 -07:00
Christopher Jeffrey
f778a8c1b5
bip152: do not use Block.totalTX.
2017-03-16 15:46:16 -07:00
Christopher Jeffrey
8453c250dc
cpuminer: fix getHashes.
2017-03-16 14:30:49 -07:00
Christopher Jeffrey
16dbde4978
http: do not return stack trace in errors.
2017-03-16 14:20:25 -07:00
Christopher Jeffrey
1f10bf8253
rpc: move getDifficulty.
2017-03-16 14:14:57 -07:00
Christopher Jeffrey
35d9727bc3
rpc: minor.
2017-03-16 14:06:34 -07:00
Christopher Jeffrey
0a065be686
rpc: refactor some calls.
2017-03-16 13:32:11 -07:00
Christopher Jeffrey
8110c73b17
v1.0.0-beta.10
2017-03-16 00:40:45 -07:00
Christopher Jeffrey
9388256e48
hostlist: fix flushing.
2017-03-16 00:39:30 -07:00
Christopher Jeffrey
c0e4c169ba
http: more tests.
2017-03-15 20:38:04 -07:00
Christopher Jeffrey
0d844be588
rpc: tests and fixes.
2017-03-15 20:21:24 -07:00
Christopher Jeffrey
335a0b1cd1
node: do not modify globals.
2017-03-15 18:43:52 -07:00