Commit Graph

3765 Commits

Author SHA1 Message Date
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules. 2017-06-22 03:59:49 -07:00
Christopher Jeffrey
d0482520d9
networks: remove mast for the time being. 2017-06-22 03:43:20 -07:00
Christopher Jeffrey
9238d29a28
chain: minor. 2017-06-22 02:22:15 -07:00
Christopher Jeffrey
7129370b2b
walletkey: fix getType in toJSON. 2017-06-17 18:49:28 -07:00
Christopher Jeffrey
3db140e119
util: improve isSafeAddition. 2017-06-17 18:39:47 -07:00
Christopher Jeffrey
be0e7e02d2
util: add isSafeAddition. 2017-06-17 18:19:12 -07:00
Christopher Jeffrey
5bf68a765f
gcs: refactor. 2017-06-17 17:41:24 -07:00
Christopher Jeffrey
fcc468fb3c
txdb: fix txid() call. 2017-06-16 23:47:04 -07:00
Christopher Jeffrey
7c1786d584
rpc: minor. 2017-06-16 23:46:53 -07:00
Christopher Jeffrey
f04ad612b2
wallet: expose witness option over http. 2017-06-16 23:46:30 -07:00
Christopher Jeffrey
9058e7d78a
gcs: rename fromData. 2017-06-16 16:08:15 -07:00
Christopher Jeffrey
3324d18f5f
gcs: replace multiplication with shifts. 2017-06-16 15:11:52 -07:00
Christopher Jeffrey
b994c278f2
utils: preliminary GCS filter support. 2017-06-16 14:35:50 -07:00
Christopher Jeffrey
015fb8b0b6
siphash: return objects instead of buffers. 2017-06-16 14:30:25 -07:00
Christopher Jeffrey
5bde338a53
rpc: fix verifytxoutproof. 2017-06-16 10:27:17 -07:00
Christopher Jeffrey
6ca3a3fda6
chain: minor. 2017-06-16 00:18:59 -07:00
Christopher Jeffrey
b8c788c207
chain: getLocator refactor. 2017-06-16 00:13:29 -07:00
Christopher Jeffrey
fb8b9fac2b
chain: fix getProofTime. 2017-06-16 00:07:50 -07:00
Christopher Jeffrey
71f8b25d3c
chain: refactor getLocator. 2017-06-16 00:04:26 -07:00
Christopher Jeffrey (JJ)
dd16950fe2 Merge pull request #219 from jjz/master
Add tes new test file of key-address-test
2017-06-15 22:50:44 -07:00
Christopher Jeffrey
ea26a0e70a
tx: minor. 2017-06-15 22:34:56 -07:00
Christopher Jeffrey
182784c8e0
utils: remove usage of isBrowser. some refactoring. 2017-06-15 22:28:06 -07:00
Christopher Jeffrey
2b569883bf
refactor: lint. 2017-06-14 20:32:11 -07:00
Christopher Jeffrey
8593bd9410
script: less static methods. 2017-06-13 18:45:42 -07:00
Christopher Jeffrey
b722e5f6e9
ec: remove historical and high params. 2017-06-13 18:31:04 -07:00
Christopher Jeffrey
eba457ae11
script: minor. 2017-06-13 11:49:35 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -07:00
Christopher Jeffrey
be457ee581
script: refactor branch/disabled opcodes. 2017-06-12 00:34:56 -07:00
Christopher Jeffrey
85ec9ae2c3
script: remove disabled ops permanently. 2017-06-11 23:40:35 -07:00
Christopher Jeffrey
a1e9999f29
script: refactor execution. 2017-06-11 23:37:55 -07:00
Christopher Jeffrey
3fd229d9ee
script: remove disabled opcode code. 2017-06-10 01:27:19 -07:00
Christopher Jeffrey
30b8a458ed
script: do not pass flags to Script.num. 2017-06-10 01:22:01 -07:00
Christopher Jeffrey
8893131e08
script: move static methods off of script constructor. 2017-06-10 01:20:05 -07:00
Christopher Jeffrey
49976e7d6f
crypto: better siphash addition. 2017-06-05 05:18:44 -07:00
Christopher Jeffrey
f0b43764b1
crypto: better addition for siphash. 2017-06-03 03:47:39 -07:00
Christopher Jeffrey
a4a2ba7c6f
crypto: improve siphash u64 handling. 2017-06-01 08:48:37 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
8763600e53
chaindb: minor. 2017-05-28 13:43:25 -07:00
jjz
ccaa0be5dc hmac-drbg is npm library , It is not in the “elliptic/lib/elliptic” 2017-05-27 11:03:41 +08:00
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