Christopher Jeffrey
|
0e15723acd
|
refactor. fixes.
|
2016-03-20 10:55:37 -07:00 |
|
Christopher Jeffrey
|
6fdfd2ab6b
|
more db wrapper improvements.
|
2016-03-19 08:56:50 -07:00 |
|
Christopher Jeffrey
|
800f5a5448
|
db wrapper. fix memleak. consistency.
|
2016-03-19 08:24:22 -07:00 |
|
Christopher Jeffrey
|
1b3eb64998
|
more writers and readers.
|
2016-03-15 14:44:37 -07:00 |
|
Christopher Jeffrey
|
c445fcd1bd
|
more linting.
|
2016-03-15 04:59:39 -07:00 |
|
Christopher Jeffrey
|
2e37b1e7ad
|
lint.
|
2016-03-15 04:37:17 -07:00 |
|
Christopher Jeffrey
|
68e40200e2
|
framer and datastore.
|
2016-03-13 04:02:48 -07:00 |
|
Christopher Jeffrey
|
908ddc8254
|
cleanup.
|
2016-03-11 22:47:55 -08:00 |
|
Christopher Jeffrey
|
8f85f0b5c9
|
chaindb.
|
2016-03-11 15:53:15 -08:00 |
|
Christopher Jeffrey
|
2c861aff82
|
implement pruning.
|
2016-03-11 02:00:44 -08:00 |
|
Christopher Jeffrey
|
c2aa7b3727
|
more http things.
|
2016-03-10 02:33:53 -08:00 |
|
Christopher Jeffrey
|
9f56efe0d7
|
more chainblock refactoring.
|
2016-03-08 14:36:01 -08:00 |
|
Christopher Jeffrey
|
27214676bc
|
chainblock methods.
|
2016-03-08 13:47:41 -08:00 |
|
Christopher Jeffrey
|
7c6f71b785
|
chainblock methods. version bits deployment checking.
|
2016-03-08 02:12:21 -08:00 |
|
Christopher Jeffrey
|
aa101a16e8
|
misc improvements.
|
2016-03-07 19:00:03 -08:00 |
|
Christopher Jeffrey
|
862a412418
|
drop references to block buffer. less mem usage. fixes.
|
2016-03-07 16:56:43 -08:00 |
|
Christopher Jeffrey
|
b5f8f7291a
|
db refactor.
|
2016-03-06 11:56:50 -08:00 |
|
Christopher Jeffrey
|
960ede9db4
|
fix syncHeight.
|
2016-03-06 11:22:13 -08:00 |
|
Christopher Jeffrey
|
30f454e184
|
minor.
|
2016-03-05 17:14:26 -08:00 |
|
Christopher Jeffrey
|
509ef15094
|
fix chain preload.
|
2016-03-05 17:00:37 -08:00 |
|
Christopher Jeffrey
|
df97d0ce11
|
pool fixes.
|
2016-03-05 16:55:58 -08:00 |
|
Christopher Jeffrey
|
c9bf605a85
|
fixes. improvements.
|
2016-03-05 09:15:59 -08:00 |
|
Christopher Jeffrey
|
67e739ef39
|
fixes.
|
2016-03-05 08:43:52 -08:00 |
|
Christopher Jeffrey
|
6b51badfa9
|
better reorgs.
|
2016-03-05 06:19:05 -08:00 |
|
Christopher Jeffrey
|
081924b7d4
|
remove old _verify method.
|
2016-03-05 04:24:06 -08:00 |
|
Christopher Jeffrey
|
dd54dcad11
|
fixes. better reorg.
|
2016-03-05 04:21:19 -08:00 |
|
Christopher Jeffrey
|
04c5f94997
|
new chaindb. allow for real fork resolution.
|
2016-03-05 02:18:39 -08:00 |
|
Christopher Jeffrey
|
ef55d1cebc
|
map addresses to ids.
|
2016-03-03 13:53:11 -08:00 |
|
Christopher Jeffrey
|
45292df44d
|
more node improvements.
|
2016-03-01 03:39:55 -08:00 |
|
Christopher Jeffrey
|
00b8f8950b
|
walletdb improvements. start refactoring node object.
|
2016-02-29 21:33:11 -08:00 |
|
Christopher Jeffrey
|
5b1ee4cccb
|
ignore orphan soil for request map. fix block delta.
|
2016-02-29 01:53:08 -08:00 |
|
Christopher Jeffrey
|
58d2f66a70
|
fix checkinputs.
|
2016-02-28 23:11:18 -08:00 |
|
Christopher Jeffrey
|
2677b0eecd
|
wallet refactoring.
|
2016-02-28 22:44:02 -08:00 |
|
Christopher Jeffrey
|
d6e7ca0660
|
minor fixes.
|
2016-02-28 12:11:49 -08:00 |
|
Christopher Jeffrey
|
326ef521ff
|
calculate vsize. other misc fixes.
|
2016-02-28 07:05:16 -08:00 |
|
Christopher Jeffrey
|
8a8b664061
|
more fixes. cleanup debugging.
|
2016-02-28 06:07:04 -08:00 |
|
Christopher Jeffrey
|
0e3aa32677
|
correct segwit signing.
|
2016-02-28 05:44:41 -08:00 |
|
Christopher Jeffrey
|
3fcc7d5b07
|
segwit wallet support. segwit chain improvements.
|
2016-02-28 04:12:51 -08:00 |
|
Christopher Jeffrey
|
bd868cda7a
|
segwit things
|
2016-02-27 05:51:48 -08:00 |
|
Christopher Jeffrey
|
77c9348824
|
get segnet working.
|
2016-02-26 21:53:39 -08:00 |
|
Christopher Jeffrey
|
5a8e2b80f3
|
segwit parsing and framing.
|
2016-02-26 15:04:34 -08:00 |
|
Christopher Jeffrey
|
4c653683b7
|
segregated - goddamn - witness... and docs update.
|
2016-02-26 03:54:26 -08:00 |
|
Christopher Jeffrey
|
bade3ba4a5
|
inspect. cleanup. fixes. cache addresses.
|
2016-02-25 13:23:02 -08:00 |
|
Christopher Jeffrey
|
a9c116c98c
|
profiler. refactoring.
|
2016-02-25 01:36:50 -08:00 |
|
Christopher Jeffrey
|
27ecf6dde3
|
comments.
|
2016-02-24 20:54:39 -08:00 |
|
Christopher Jeffrey
|
4cea71fe65
|
keep all pending blocks off the heap.
|
2016-02-24 20:05:06 -08:00 |
|
Christopher Jeffrey
|
cc3db0583c
|
Revert "keep orphans off the heap."
This reverts commit 466429dbe2.
|
2016-02-24 14:43:51 -08:00 |
|
Christopher Jeffrey
|
42818c0646
|
drop block subtype.
|
2016-02-24 07:08:02 -08:00 |
|
Christopher Jeffrey
|
6ad3540664
|
refactor addInput.
|
2016-02-24 03:41:06 -08:00 |
|
Christopher Jeffrey
|
466429dbe2
|
keep orphans off the heap.
|
2016-02-24 02:47:33 -08:00 |
|
Christopher Jeffrey
|
c559f97c26
|
add chain._checkReward.
|
2016-02-23 21:02:50 -08:00 |
|
Christopher Jeffrey
|
78e9be11c3
|
switch to buffers.
|
2016-02-22 20:37:15 -08:00 |
|
Christopher Jeffrey
|
c0bb66bf73
|
refactor orphan root.
|
2016-02-22 15:16:50 -08:00 |
|
Christopher Jeffrey
|
0dc1b1cc5f
|
fix orphan resolution.
|
2016-02-22 14:35:13 -08:00 |
|
Christopher Jeffrey
|
9ddc23227c
|
fix LoadRequest. misc.
|
2016-02-22 13:52:03 -08:00 |
|
Christopher Jeffrey
|
cbed3bbc4f
|
fsync all chain writes.
|
2016-02-22 04:54:07 -08:00 |
|
Christopher Jeffrey
|
0f4d2ca281
|
use async helpers.
|
2016-02-22 04:25:20 -08:00 |
|
Christopher Jeffrey
|
86b228ca07
|
add utils.once. some async functions. disable blockdb truncate.
|
2016-02-22 03:09:48 -08:00 |
|
Christopher Jeffrey
|
6b6a84a774
|
full json. cache.
|
2016-02-22 01:54:42 -08:00 |
|
Christopher Jeffrey
|
21ff3f1d78
|
fix orphan pruning.
|
2016-02-22 00:00:26 -08:00 |
|
Christopher Jeffrey
|
d6bef43d71
|
add http server.
|
2016-02-21 22:48:42 -08:00 |
|
Christopher Jeffrey
|
2ce5848d4c
|
fix horrible typo.
|
2016-02-21 16:26:51 -08:00 |
|
Christopher Jeffrey
|
c81770c2b1
|
move some deps around. drop inherits.
|
2016-02-21 06:31:15 -08:00 |
|
Christopher Jeffrey
|
6e2eb039ac
|
add spv node. add .bcoin dir. add file storage for wallet.
|
2016-02-20 16:53:10 -08:00 |
|
Christopher Jeffrey
|
28274cdba4
|
rename methods.
|
2016-02-19 21:42:44 -08:00 |
|
Christopher Jeffrey
|
ad7cd04e79
|
minor.
|
2016-02-19 21:22:22 -08:00 |
|
Christopher Jeffrey
|
509ed09603
|
better existence check.
|
2016-02-19 21:13:22 -08:00 |
|
Christopher Jeffrey
|
8ed054cbda
|
handle verification better. make use of cache.
|
2016-02-19 21:00:38 -08:00 |
|
Christopher Jeffrey
|
ad95ffbfcd
|
do verification on forked blocks.
|
2016-02-19 20:45:02 -08:00 |
|
Christopher Jeffrey
|
70553c884c
|
better check for existing blocks.
|
2016-02-19 20:30:36 -08:00 |
|
Christopher Jeffrey
|
a9ec49f954
|
misc fixes.
|
2016-02-19 19:48:24 -08:00 |
|
Christopher Jeffrey
|
348049a5c3
|
refactor
|
2016-02-19 11:18:35 -08:00 |
|
Christopher Jeffrey
|
53158edf4f
|
purge pending.
|
2016-02-19 11:16:39 -08:00 |
|
Christopher Jeffrey
|
3c3e9a496a
|
more chain improvements.
|
2016-02-19 11:10:45 -08:00 |
|
Christopher Jeffrey
|
af59208ad5
|
cleanup
|
2016-02-19 09:49:07 -08:00 |
|
Christopher Jeffrey
|
fc5187bb26
|
fix some blockdb stuff.
|
2016-02-19 09:19:34 -08:00 |
|
Christopher Jeffrey
|
a558cbfb57
|
lower limits.
|
2016-02-19 09:13:18 -08:00 |
|
Christopher Jeffrey
|
a6668f860f
|
experiment with _lock.
|
2016-02-19 09:10:50 -08:00 |
|
Christopher Jeffrey
|
bccc833299
|
play around with _lock method.
|
2016-02-19 08:35:46 -08:00 |
|
Christopher Jeffrey
|
3a63da5735
|
async work.
|
2016-02-19 08:07:50 -08:00 |
|
Christopher Jeffrey
|
cefeaf779b
|
better block sync.
|
2016-02-19 07:49:14 -08:00 |
|
Christopher Jeffrey
|
7c3191aee8
|
fix chaindb queue system.
|
2016-02-19 06:30:10 -08:00 |
|
Christopher Jeffrey
|
7df05b971d
|
async resets.
|
2016-02-19 05:54:23 -08:00 |
|
Christopher Jeffrey
|
053775ffac
|
sync resetHeight
|
2016-02-19 05:38:02 -08:00 |
|
Christopher Jeffrey
|
9ff7e93c71
|
move sigop counting to checkInputs.
|
2016-02-19 04:16:29 -08:00 |
|
Christopher Jeffrey
|
9bc3e44a7f
|
misc method improvements.
|
2016-02-19 03:08:50 -08:00 |
|
Christopher Jeffrey
|
71557ba95c
|
more chain improvements.
|
2016-02-19 02:14:10 -08:00 |
|
Christopher Jeffrey
|
5f67f78170
|
chain fixes.
|
2016-02-19 01:42:59 -08:00 |
|
Christopher Jeffrey
|
8b17c09116
|
move more logic into chaindb.
|
2016-02-18 22:52:51 -08:00 |
|
Christopher Jeffrey
|
5053fa2eeb
|
move height lookups to chaindb.
|
2016-02-18 21:01:34 -08:00 |
|
Christopher Jeffrey
|
d2a4f995fd
|
add some async functions.
|
2016-02-18 18:36:25 -08:00 |
|
Christopher Jeffrey
|
469d3c35d0
|
_revertLast.
|
2016-02-18 17:41:47 -08:00 |
|
Christopher Jeffrey
|
42f5ece282
|
refactor mempool events from chain.
|
2016-02-18 17:30:15 -08:00 |
|
Christopher Jeffrey
|
050d801849
|
standardness. chain. pool.
|
2016-02-18 15:26:03 -08:00 |
|
Christopher Jeffrey
|
4b672d6337
|
fix sigops counting.
|
2016-02-18 01:45:47 -08:00 |
|
Christopher Jeffrey
|
ff467afaff
|
minor.
|
2016-02-18 01:12:39 -08:00 |
|
Christopher Jeffrey
|
d22dc02e8f
|
wait for flush.
|
2016-02-17 19:40:56 -08:00 |
|
Christopher Jeffrey
|
6ef09f39ec
|
better events.
|
2016-02-17 17:07:12 -08:00 |
|
Christopher Jeffrey
|
f7ac99d24d
|
minor refactoring.
|
2016-02-17 16:02:11 -08:00 |
|
Christopher Jeffrey
|
d4aa15f9a3
|
remove old error code system.
|
2016-02-17 15:39:20 -08:00 |
|
Christopher Jeffrey
|
5d9f106e2a
|
event based system for chain error handling.
|
2016-02-17 15:30:33 -08:00 |
|
Christopher Jeffrey
|
7a04ac25d0
|
add queue back to handleBlock.
|
2016-02-17 13:04:26 -08:00 |
|
Christopher Jeffrey
|
a208083dc5
|
do not increment total on orphans.
|
2016-02-17 12:55:48 -08:00 |
|
Christopher Jeffrey
|
a485a1d334
|
move queue to the chain.
|
2016-02-17 12:52:22 -08:00 |
|
Christopher Jeffrey
|
90b3c16837
|
debugging.
|
2016-02-17 01:16:01 -08:00 |
|
Christopher Jeffrey
|
7b14c3b72b
|
debugging.
|
2016-02-17 00:14:25 -08:00 |
|
Christopher Jeffrey
|
2dc3786eb0
|
refactor
|
2016-02-16 21:04:10 -08:00 |
|
Christopher Jeffrey
|
d0d0378f3e
|
queue. fixes.
|
2016-02-16 21:01:31 -08:00 |
|
Christopher Jeffrey
|
0191acd530
|
blockdb reset height.
|
2016-02-16 17:19:14 -08:00 |
|
Christopher Jeffrey
|
997f0acbb0
|
more refactoring.
|
2016-02-16 16:13:34 -08:00 |
|
Christopher Jeffrey
|
ab610d6fa5
|
new verifyContext.
|
2016-02-16 14:27:46 -08:00 |
|
Christopher Jeffrey
|
02e4c9e266
|
fix verifyContext.
|
2016-02-16 14:08:56 -08:00 |
|
Christopher Jeffrey
|
fe46d1ada5
|
contextual verification. misc.
|
2016-02-16 13:45:02 -08:00 |
|
Christopher Jeffrey
|
e912f78814
|
async chain.
|
2016-02-16 03:03:11 -08:00 |
|
Christopher Jeffrey
|
686dcbcdd9
|
minor fixes.
|
2016-02-12 01:20:05 -08:00 |
|
Christopher Jeffrey
|
6cc4c866dc
|
wallet refactor. fixes.
|
2016-02-10 16:42:02 -08:00 |
|
Christopher Jeffrey
|
17e25804de
|
better preload. misc fixes.
|
2016-02-09 00:07:38 -08:00 |
|
Christopher Jeffrey
|
05d4eab0d8
|
add preload option. better errors.
|
2016-02-08 21:05:27 -08:00 |
|
Christopher Jeffrey
|
bcd68c4ed8
|
fix callback.
|
2016-02-08 20:49:50 -08:00 |
|
Christopher Jeffrey
|
36c3d72021
|
add preload from electrum.org. check for blockchain corruption.
|
2016-02-08 20:46:57 -08:00 |
|
Christopher Jeffrey
|
adb304748f
|
add some data integrity checks when loading the chain.
|
2016-02-08 19:55:56 -08:00 |
|
Christopher Jeffrey
|
d20b3b8737
|
move chaindb and chainblock to their own modules.
|
2016-02-08 19:01:30 -08:00 |
|
Christopher Jeffrey
|
72b7adc800
|
get bcoin working in the browser again.
|
2016-02-08 18:06:39 -08:00 |
|
Christopher Jeffrey
|
2ec7989b6a
|
no more dynamic heights.
|
2016-02-06 21:51:38 -08:00 |
|
Christopher Jeffrey
|
e0ab0ab88d
|
minor changes/fixes.
|
2016-02-03 02:09:03 -08:00 |
|
Christopher Jeffrey
|
f9d960ca23
|
api: more method renames. legacy support. docs.
|
2016-02-01 11:57:40 -08:00 |
|
Christopher Jeffrey
|
6ad621cace
|
api: rename methods, properties. add legacy support.
|
2016-02-01 11:50:09 -08:00 |
|
Christopher Jeffrey
|
4cc9b93fdd
|
fix resetHeight.
|
2016-01-27 11:01:45 -08:00 |
|
Christopher Jeffrey
|
b98640b27e
|
drop preload constants.
|
2016-01-25 13:46:40 -08:00 |
|
Christopher Jeffrey
|
f3980ca029
|
deprecate chain.getTip().
|
2016-01-25 11:58:22 -08:00 |
|
Christopher Jeffrey
|
0d7929136a
|
fix getChainwork.
|
2016-01-23 22:00:19 -08:00 |
|
Christopher Jeffrey
|
7526beace0
|
chaindb: minor.
|
2016-01-23 19:36:34 -08:00 |
|
Christopher Jeffrey
|
9b266c6ec7
|
minor.
|
2016-01-21 18:28:46 -08:00 |
|
Christopher Jeffrey
|
cdfe7b6ec5
|
add assert.
|
2016-01-21 18:10:04 -08:00 |
|
Christopher Jeffrey
|
93e0fe95d0
|
chaindb: back to async writes.
|
2016-01-21 14:35:13 -08:00 |
|
Christopher Jeffrey
|
32109c5de5
|
chaindb: error handling.
|
2016-01-21 14:31:32 -08:00 |
|
Christopher Jeffrey
|
a459d190aa
|
use async writes.
|
2016-01-21 14:10:01 -08:00 |
|
Christopher Jeffrey
|
cb73ab908e
|
chaindb: add allocator.
|
2016-01-21 14:01:32 -08:00 |
|
Christopher Jeffrey
|
7c2171966c
|
chaindb: minor fixes.
|
2016-01-21 13:43:04 -08:00 |
|
Christopher Jeffrey
|
34a44fe391
|
chaindb: async loading.
|
2016-01-21 04:10:21 -08:00 |
|
Christopher Jeffrey
|
c5bc356bc9
|
add getAsync.
|
2016-01-21 03:58:33 -08:00 |
|
Christopher Jeffrey
|
b65ed25b29
|
chaindb: fix async.
|
2016-01-21 03:48:39 -08:00 |
|
Christopher Jeffrey
|
b273bec120
|
chaindb: checksum.
|
2016-01-21 03:39:36 -08:00 |
|
Christopher Jeffrey
|
ef51f4f842
|
chaindb: recovery.
|
2016-01-21 03:24:29 -08:00 |
|
Christopher Jeffrey
|
c950a30330
|
chaindb: better loading.
|
2016-01-21 02:23:01 -08:00 |
|
Christopher Jeffrey
|
495dda79ef
|
fix assert.
|
2016-01-21 02:02:44 -08:00 |
|
Christopher Jeffrey
|
18f1412ba7
|
rename functions.
|
2016-01-21 01:58:21 -08:00 |
|
Christopher Jeffrey
|
95ff41dde9
|
move saveAsync elsewhere.
|
2016-01-21 01:56:01 -08:00 |
|
Christopher Jeffrey
|
c3943c0111
|
chaindb. avoid buffered writes.
|
2016-01-21 01:50:22 -08:00 |
|
Christopher Jeffrey
|
dd4660eb15
|
chaindb: cleanup. remove old functionality.
|
2016-01-21 01:40:40 -08:00 |
|