Commit Graph

3986 Commits

Author SHA1 Message Date
Christopher Jeffrey (JJ)
2c8fcafa0a Merge pull request #265 from nodar-chkuaselidze/fix/rpc-requests
REST API fixes
2017-08-17 17:23:04 -07:00
Christopher Jeffrey (JJ)
87a31093f6 Merge pull request #276 from nodar-chkuaselidze/fix/invalidate
Chain: Fix _invalidate
2017-08-17 17:21:33 -07:00
Christopher Jeffrey
5415147d4e
encoding: encoding improvements for base128 varints. 2017-08-17 10:55:30 -07:00
Christopher Jeffrey
51cdd6156b
encoding: lint. 2017-08-17 10:04:51 -07:00
Christopher Jeffrey
a47d68024a
scriptnum: improve encoding. 2017-08-17 09:59:17 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs. 2017-08-17 09:56:57 -07:00
Christopher Jeffrey
411db44a76
workers: fix ErrorResultPacket. 2017-08-17 09:56:22 -07:00
Christopher Jeffrey
a91bd5c958
script: improve new scriptnum. 2017-08-16 20:36:09 -07:00
Christopher Jeffrey
772025a4a1
script: a better scriptnum implementation. 2017-08-16 15:33:44 -07:00
Christopher Jeffrey
d277d55560
bn: use toArrayLike instead of toBuffer. 2017-08-16 15:32:24 -07:00
Node
15b22c03fa
chain: fix _invalidate 2017-08-16 21:06:08 +04:00
Christopher Jeffrey
f9eca70374
pkg: upgrade n64. 2017-08-15 18:47:34 -07:00
Christopher Jeffrey
2ce2f1f9f7
rpc: refactor getTXOutProof and mining calls. 2017-08-14 17:52:31 -07:00
Christopher Jeffrey
09a2dc0f55
cpuminer: avoid division by zero. 2017-08-14 17:51:40 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function. 2017-08-13 13:15:56 -07:00
Christopher Jeffrey
b021f7cdd4
util: minor. 2017-08-13 12:21:56 -07:00
Christopher Jeffrey
ebb79e5ff1
secp256k1: es6ify length normalization. 2017-08-13 12:21:44 -07:00
Christopher Jeffrey
28d2f1478e
workers: do not listen for close event. 2017-08-11 15:21:16 -07:00
Christopher Jeffrey
b8f57df90c
hd: use a u32 for fingerprints. 2017-08-11 14:47:54 -07:00
Christopher Jeffrey
aa327131e8
hd: improve arg parsing. 2017-08-11 05:12:18 -07:00
Christopher Jeffrey
e6cd60f919
hd: better path parsing. 2017-08-11 05:07:04 -07:00
Christopher Jeffrey
60b345f59c
util: revert to old toFixed behavior. 2017-08-11 04:52:51 -07:00
Christopher Jeffrey
1735fe6a6c
hd: refactor hardening handling. 2017-08-11 04:47:51 -07:00
Christopher Jeffrey
e03182367f
amount: allow overloading for num vs. str by default. 2017-08-11 04:36:17 -07:00
Christopher Jeffrey
e7bc53c995
test: refactor script and tx test parsing. 2017-08-11 00:07:48 -07:00
Christopher Jeffrey
6c96a8e6ba
script: lint. 2017-08-10 23:37:42 -07:00
Christopher Jeffrey
5c7c66332f
timedata: whitespace. 2017-08-10 12:32:49 -07:00
Christopher Jeffrey
7db5fd1537
memdb: fix typo. 2017-08-10 12:08:53 -07:00
Christopher Jeffrey
87e3ee1971
script: do not use return values for script.execute and Script.verify. 2017-08-10 09:41:01 -07:00
Christopher Jeffrey
413f26584d
mnemonic: refactor parsing and serialization for phrases. 2017-08-10 06:55:01 -07:00
Christopher Jeffrey
50b8dd2b2c
mnemonic: better parsing. 2017-08-10 06:22:33 -07:00
Christopher Jeffrey
bff9e25796
mnemonic: optimize fromPhrase. 2017-08-09 18:17:25 -07:00
Christopher Jeffrey
fbd99ea1b9
util: add util.fromDouble for convenience. 2017-08-09 17:45:10 -07:00
Christopher Jeffrey
9f3a040758
mnemonic: fix an error for certain languages. 2017-08-09 17:44:06 -07:00
Christopher Jeffrey
aec9474ba7
walletdb: use passed-in worker pool. 2017-08-09 15:45:02 -07:00
Christopher Jeffrey
8f73ec53e9
refactor: use assert.strictEqual instead of assert.equal. 2017-08-09 15:40:39 -07:00
Christopher Jeffrey
853ef18ad9
lint: fix some linting errors. 2017-08-09 15:32:46 -07:00
Christopher Jeffrey
15adc17dea
bip150: stricter parsing for known-peers and auth-peers. 2017-08-09 15:29:06 -07:00
Christopher Jeffrey
78dfe005c7
config: use stricter arg and config file parsing. 2017-08-09 15:28:52 -07:00
Christopher Jeffrey
a5b736b3f5
mtx: expose commit method returning a tx and view. 2017-08-09 15:26:33 -07:00
Christopher Jeffrey
ff8b0418b1
keyring: minor. 2017-08-09 15:25:46 -07:00
Christopher Jeffrey
edebc51d18
primitives: use equals instead of equal for consistency. 2017-08-09 15:25:01 -07:00
Christopher Jeffrey
33c32d32c1
bip152: minor. add assertion. 2017-08-08 14:31:58 -07:00
Christopher Jeffrey
de9f37b290
merkleblock: minor. style. 2017-08-08 14:31:42 -07:00
Christopher Jeffrey
7de854ce3f
http: require json bodies to be an object. 2017-08-07 15:56:15 -07:00
Christopher Jeffrey
e268e00adb
chain: minor. 2017-08-07 15:31:57 -07:00
Christopher Jeffrey
36523e2f56
tx: do not track flags byte. 2017-08-07 00:55:26 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names. 2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints. 2017-08-06 14:43:22 -07:00