Christopher Jeffrey
|
401829db5a
|
node: start using blgr and bcfg.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
41925d495c
|
utils: start using bbuf.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
658d3db928
|
encoding: refactor. remove bip70.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
d1e4be8343
|
bcoin: use bdb.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
749d4edc11
|
wallet: fixes for wallet server.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
d0ed214067
|
bcoin: remove dependence on util.js.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
636d66a5c7
|
bcoin: use bcrypto. remove crypto module.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
abcf48cbe9
|
wallet: update rpc calls for getHashes.
|
2018-03-29 21:56:43 -07:00 |
|
Christopher Jeffrey
|
969fd8f704
|
wallet-rewrite
|
2018-03-29 21:56:43 -07:00 |
|
Christopher Jeffrey
|
4d8ca8c16f
|
db: change iterator api to be more loop-friendly.
|
2017-10-18 12:58:21 -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 |
|
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
|
fdca08b498
|
chain: minor.
|
2017-09-06 23:06:41 -07:00 |
|
Christopher Jeffrey
|
5107cfd27a
|
consensus: clean up some functions.
|
2017-09-06 22:38: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
|
e0eb1cdbe3
|
refactor: remove all duck typing.
|
2017-09-02 21:29:38 -07:00 |
|
Christopher Jeffrey
|
b87f557823
|
tx/script/chain: refactor locktime handling.
|
2017-08-27 19:07:57 -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
|
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
|
e268e00adb
|
chain: minor.
|
2017-08-07 15:31:57 -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 |
|
Christopher Jeffrey
|
a290e6880d
|
encoding: rename read int methods to readIx.
|
2017-08-06 03:27:06 -07:00 |
|
Christopher Jeffrey
|
1df577cb74
|
validation: refactor.
|
2017-08-06 03:23:37 -07:00 |
|
Christopher Jeffrey
|
bb6110c609
|
chain/pool: make checkpoints option permanent.
|
2017-08-02 15:23:10 -07:00 |
|
Christopher Jeffrey
|
a76442acde
|
chain: minor.
|
2017-08-02 00:19:24 -07:00 |
|
Christopher Jeffrey
|
ee7ad9dc86
|
chain: determine sync state using last checkpoint's chainwork.
|
2017-08-01 15:17:55 -07:00 |
|
Christopher Jeffrey
|
1a4268544f
|
chain: better checkpoint handling.
|
2017-08-01 01:38:04 -07:00 |
|
Christopher Jeffrey
|
6acf96457d
|
chaindb: fix cache invalidation.
|
2017-07-31 18:21:04 -07:00 |
|
Christopher Jeffrey
|
1bbe36ec1a
|
chaindb: minor.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
e38da91065
|
lint: no extra parens around !await.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
88ef28d837
|
lint: no implicit casting.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
5eb6620431
|
lint: consistent return values.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
5e73e51177
|
lint: fix function names.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
55cf07a871
|
refactor: style for const/let and returns.
|
2017-07-31 18:21:02 -07:00 |
|
Christopher Jeffrey
|
6f3988e861
|
refactor: use const as much as possible.
|
2017-07-31 18:21:02 -07:00 |
|
Christopher Jeffrey
|
9cc5c393b4
|
eslint: use prefer-const.
|
2017-07-31 18:21:02 -07:00 |
|
Christopher Jeffrey
|
a1601b8f3a
|
chaindb: alter hasCoins.
|
2017-07-31 18:20:48 -07:00 |
|
Christopher Jeffrey
|
82bdd73f05
|
chaindb: fix getCoin.
|
2017-07-31 18:20:48 -07:00 |
|
Christopher Jeffrey
|
492c05c378
|
coinview: refactor api.
|
2017-07-31 18:20:48 -07:00 |
|
Christopher Jeffrey
|
fbb2500281
|
layout: aggressive asserts.
|
2017-07-31 18:20:47 -07:00 |
|
Christopher Jeffrey
|
79f88b93b3
|
chaindb: v3.
|
2017-07-31 18:20:47 -07:00 |
|
Christopher Jeffrey
|
345f0c90ac
|
coins: refactor.
|
2017-07-31 18:20:47 -07:00 |
|
Christopher Jeffrey
|
a1af3ab980
|
chaindb: switch to pertxout.
|
2017-07-31 18:20:47 -07:00 |
|
Christopher Jeffrey
|
87d664784c
|
refactor: s/ts/time. s/ps/mtime.
|
2017-07-25 14:23:10 -07:00 |
|
Christopher Jeffrey
|
7eefb773be
|
refactor: use maps and sets wherever possible.
|
2017-07-25 05:15:47 -07:00 |
|
Christopher Jeffrey
|
8c212d797f
|
block: rename some more methods. refactor bip152 ptx vector.
|
2017-07-25 01:16:25 -07:00 |
|
Christopher Jeffrey
|
5dd18d5fa6
|
chain: fix unknown versionbits log.
|
2017-07-23 07:41:19 -07:00 |
|
Christopher Jeffrey
|
3a0c9b60e2
|
chain: implement bip91 and bip148.
|
2017-07-23 07:32:18 -07:00 |
|
Christopher Jeffrey
|
ffec8ff2d7
|
chain: improve version display. fix getLocator.
|
2017-07-20 17:22:59 -07:00 |
|
Christopher Jeffrey
|
cedc54436a
|
lowlevelup: automatic dummies.
|
2017-07-17 14:26:43 -07:00 |
|
Christopher Jeffrey
|
ff856fd6c2
|
chain: post-verify transactions due to potential of rejected promises.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
4771f2d0a8
|
chaindb: minor.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
6893d5aa99
|
chain: minor.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
18c1476de9
|
chain: refactor getLocks.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
8a1eb9f5e1
|
chain: minor.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
797016630c
|
chaindb: minor.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
0ffabd7a9a
|
chaindb: more cases for genesis block.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
e65f6e26c3
|
chain: remove isCoinbase calls.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
73e61e864a
|
chaindb: minor.
|
2017-07-17 14:26:42 -07:00 |
|
Christopher Jeffrey
|
ca48ab748f
|
bn: use toBuffer instead of toArrayLike.
|
2017-07-17 14:26:40 -07:00 |
|
Christopher Jeffrey
|
296e65d0fd
|
refactor: use es6 template strings everywhere.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
3af014119a
|
refactor: switch to template strings for errors.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
10672784e5
|
refactor: rename tx functions. more es6 features.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
8c7279518f
|
refactor: de-globalize workerpool.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
c53f4cf89e
|
refactor: switch to const/let.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
e00472891d
|
refactor: start using for...of.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
78d62c73b8
|
refactor: start using multiple return values.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
aa05bb5df7
|
refactor: use es6 maps for everything.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
62e7f97359
|
refactor: module index.
|
2017-06-27 09:28:18 -07:00 |
|
Christopher Jeffrey
|
d4cc22e1c5
|
refactor: crypto.
|
2017-06-27 07:27:53 -07:00 |
|
Christopher Jeffrey
|
8358fa59c6
|
util: drop all homemade polyfills.
|
2017-06-27 00:36:13 -07:00 |
|
Christopher Jeffrey
|
d9342cd81c
|
util: rely on polyfill for nextTick and typed arrays.
|
2017-06-26 23:31:32 -07:00 |
|
Christopher Jeffrey
|
2ef4d137e6
|
pkg: switch from jshint to eslint.
|
2017-06-24 04:45:46 -07:00 |
|
Christopher Jeffrey
|
84eccc29fa
|
refactor: switch to async/await. see #227.
|
2017-06-24 02:39:06 -07:00 |
|
Christopher Jeffrey
|
33ffb780b3
|
refactor: expose int64 and big numbers as modules.
|
2017-06-22 03:59:49 -07:00 |
|
Christopher Jeffrey
|
9238d29a28
|
chain: minor.
|
2017-06-22 02:22:15 -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
|
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
|
8763600e53
|
chaindb: minor.
|
2017-05-28 13:43:25 -07:00 |
|
Christopher Jeffrey
|
46b34677f1
|
address/wallet: refactor usage of Address.getHash.
|
2017-05-25 23:27:37 -07:00 |
|
Christopher Jeffrey
|
7d61cda3aa
|
chain/mempool: more aggressive asserts.
|
2017-05-21 18:40:43 -07:00 |
|
Christopher Jeffrey
|
1eaafb1a09
|
chain: minor refactor.
|
2017-05-21 09:05:35 -07:00 |
|
Christopher Jeffrey
|
0ceca23cb5
|
chain/mempool: store peer id and punish invalid orphans.
|
2017-05-19 17:02:06 -07:00 |
|
Christopher Jeffrey
|
028fee9eee
|
chain: compact db after pruning.
|
2017-05-15 03:42:14 -07:00 |
|
Christopher Jeffrey
|
f0cc8eb128
|
chain: rename some methods. remove unused methods.
|
2017-05-14 22:11:55 -07:00 |
|
Christopher Jeffrey
|
f0bc6d5925
|
rpc: implement pruneblockchain.
|
2017-05-14 15:24:32 -07:00 |
|
Christopher Jeffrey
|
290f6ab563
|
rpc: implement invalidateblock correctly.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
5b3ca8ce6f
|
chain: refactor getDeployments.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
eb601eece6
|
node: start using logger contexts.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
a81733a720
|
node/config: refactor config and options.
|
2017-03-14 06:09:29 -07:00 |
|