Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules.
2017-06-22 03:59:49 -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
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
182784c8e0
utils: remove usage of isBrowser. some refactoring.
2017-06-15 22:28:06 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals.
2017-06-12 03:00:08 -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
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans.
2017-05-19 17:02:06 -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
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
af0ab46f21
config/validator: add some validation methods.
2017-05-13 02:39:03 -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
Sam Lanning
3e06a244dd
utils: Add clarification to util.isFloat() jsdoc
2017-05-11 14:38:36 -07: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
b2649a6cd1
encoding: fix asserts.
2017-03-15 07:21:04 -07:00
Christopher Jeffrey
1458366441
reader: better errors.
2017-03-15 06:49:46 -07:00
Christopher Jeffrey
3ae417795f
rpc: better error codes.
2017-03-15 06:13:27 -07:00
Christopher Jeffrey
74b21b78c5
config/validator: fix lists.
2017-03-14 06:16:57 -07:00
Christopher Jeffrey
68bba8621e
rpc/mempool: implement prioritisetransaction.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
9a7b4eb6a0
validator: minor.
2017-03-14 06:10:36 -07:00
Christopher Jeffrey
023591978a
rpc: fix wit commitment for getblocktemplate.
2017-03-14 06:10:36 -07:00
Christopher Jeffrey
a266391f1b
logger: truncate log files.
2017-03-14 06:10:36 -07:00
Christopher Jeffrey
1a8a9afade
config/wallet: refactor config handling. add wallet server.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
945fa381c5
refactor: mining.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
50d47dd5a6
rpc: method refactor. getwork refactor.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
78a4f379f5
rpc: add u32 validation. rename node rpc methods.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
59e9ef277a
http: make rpc more hookable.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
a47316c264
http: refactor node websocket api.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
4c7a935484
http: better channel management.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
eedc563903
utils: add fs.
2017-03-14 06:09:29 -07:00
Christopher Jeffrey
a81733a720
node/config: refactor config and options.
2017-03-14 06:09:29 -07:00
Christopher Jeffrey
cdbad54a8c
net: improvements. see comments.
...
- Improved local address handling.
- Enabled upnp discovery.
- Added retry for dns seeds.
- Improved hostlist in general.
2017-03-07 17:10:47 -08:00
Christopher Jeffrey
664cddac42
asyncobject: fire hooks before events.
2017-03-05 15:23:13 -08:00
Christopher Jeffrey
3c4bee11f2
chain: add serial asynchronous "hooks".
2017-03-05 15:06:26 -08:00
Christopher Jeffrey
4d5eaaa64a
asyncemitter: add sync emission.
2017-03-05 15:06:07 -08:00
Christopher Jeffrey
ef92070a28
rbt: always return node for insert.
2017-03-05 01:23:46 -08:00
Christopher Jeffrey
fce0126c13
util: refactor hrtime usage.
2017-03-05 01:23:16 -08:00
Christopher Jeffrey
d4f5f7cd66
rbt: refactor and move.
2017-03-03 18:11:41 -08:00
Christopher Jeffrey
04735a1a37
upnp/ip: move some upnp functions to ip.
2017-03-02 15:50:25 -08:00
Christopher Jeffrey
b8bf8209f0
ip/netaddress: add reachability score.
2017-03-02 15:25:44 -08:00
Christopher Jeffrey
b73b2fba85
heap: minor refactor.
2017-02-26 21:53:05 -08:00
Christopher Jeffrey
70d4de39ce
miner: use a proper priority queue.
2017-02-26 12:53:41 -08:00
Christopher Jeffrey
ef95b69e5e
minor: refactor. move asyncobject.
2017-02-04 14:52:13 -08:00