Commit Graph

161 Commits

Author SHA1 Message Date
Christopher Jeffrey
b9c7afa0ea
coin.fromTX. 2016-05-18 05:12:28 -07:00
Christopher Jeffrey
5ac4621b0e
comments. docs. 2016-05-15 18:22:28 -07:00
Christopher Jeffrey
6a45d693ee
rename chainblock for consistency. 2016-05-13 15:33:25 -07:00
Christopher Jeffrey
86bc2227a4
get address working. 2016-05-13 13:38:18 -07:00
Christopher Jeffrey
8db6e1c9a6
store by hash. 2016-05-13 12:01:06 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
5eb3946e38
major refactor. 2016-05-13 09:24:04 -07:00
Christopher Jeffrey
361134029f
move some chaindb stuff around. 2016-05-13 04:52:35 -07:00
Christopher Jeffrey
f4be7651cd
refactor txdb and chaindb db usage. 2016-05-13 04:49:21 -07:00
Christopher Jeffrey
cb6b43f0b6
check for indextx. 2016-05-07 17:03:19 -07:00
Christopher Jeffrey
692f2c7cf0
catch all parse errors. 2016-05-07 04:47:44 -07:00
Christopher Jeffrey
c5181c272b
getLocator. optimize height lookup. 2016-05-06 04:10:27 -07:00
Christopher Jeffrey
e2bcbcaba5
cache, again. 2016-05-05 18:57:34 -07:00
Christopher Jeffrey
625fb729f5
state caching. 2016-05-05 18:54:18 -07:00
Christopher Jeffrey
079d82e80c
do not store unspendable coins. 2016-05-05 03:41:22 -07:00
Christopher Jeffrey
477c4f5dbb
set height on genesis block. 2016-05-04 17:21:09 -07:00
Christopher Jeffrey
3ee5137851
rename method. 2016-05-01 21:47:08 -07:00
Christopher Jeffrey
703c9aec3c
refactor database layout. 2016-05-01 20:45:36 -07:00
Christopher Jeffrey
8d38178b30
more utils refactoring. 2016-04-30 20:06:26 -07:00
Christopher Jeffrey
5ef65a4129
mnemonic. undo coins. 2016-04-29 16:49:47 -07:00
Christopher Jeffrey
90790ac675
refactor parsing. 2016-04-29 07:23:30 -07:00
Christopher Jeffrey
845a987e00
undo coins. 2016-04-29 02:48:12 -07:00
Christopher Jeffrey
214a78acbf
do not connect the genesis block. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
51a39c3a52
cache window. 2016-04-21 14:28:46 -07:00
Christopher Jeffrey
80c6c5975e
lru cache. coin cache. 2016-04-21 13:33:43 -07:00
Christopher Jeffrey
6dd5b936ef
minor. 2016-04-20 03:53:11 -07:00
Christopher Jeffrey
ed6b1e9072
rename methods. 2016-04-19 11:50:56 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
87d985fcdb
constants. network. docs. 2016-04-17 15:58:12 -07:00
Christopher Jeffrey
dee60da2e2
chain accuracy. 2016-04-17 14:46:40 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
1c1c34e6a4
refactor prune. 2016-04-16 20:49:00 -07:00
Christopher Jeffrey
d9761fbe16
fix loop. 2016-04-16 20:19:36 -07:00
Christopher Jeffrey
0f6c19bcd5
major refactor. 2016-04-16 20:03:00 -07:00
Christopher Jeffrey
0d7d8073a2
refactor. 2016-04-16 05:56:38 -07:00
Christopher Jeffrey
0d75c8a621
validate sidechain's inputs after a reorg instead of before. 2016-04-16 01:38:07 -07:00
Christopher Jeffrey
26b3d92acf
docs fixes. 2016-04-15 07:50:08 -07:00
Christopher Jeffrey
e3595906c9
no one can say i didn't write docs now. 2016-04-15 06:43:44 -07:00
Christopher Jeffrey
9a0af8a591
use leveldown staging. 2016-04-08 14:55:54 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
9356a40e62 refactor. 2016-04-05 16:23:57 -07:00
Christopher Jeffrey
4b20a87b4f db refactoring. 2016-04-04 18:57:34 -07:00
Christopher Jeffrey
9e61d0ee86 refactor. 2016-04-04 14:07:16 -07:00
Christopher Jeffrey
bba77b4150 more mempool work. 2016-03-31 22:00:00 -07:00
Christopher Jeffrey
9f88173881 chain refactoring. 2016-03-30 04:50:29 -07:00
Christopher Jeffrey
b352bfbe3d handle forks better. 2016-03-30 04:15:33 -07:00
Christopher Jeffrey
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -07:00
Christopher Jeffrey
93660e829a mem usage. 2016-03-28 17:54:56 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
569016e752 refactor. numbers. 2016-03-25 15:17:43 -07:00
Christopher Jeffrey
1db0954c83 misc. 2016-03-24 03:45:00 -07:00
Christopher Jeffrey
0e15723acd refactor. fixes. 2016-03-20 10:55:37 -07:00
Christopher Jeffrey
bd54b42dc4 fixing memleak. so far so good. 2016-03-19 09:36:16 -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
d690c9ea5a ldb. 2016-03-18 20:12:34 -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
00dfad25da memleak work. 2016-03-14 13:25:02 -07:00
Christopher Jeffrey
18145ad541 datastore fixes. 2016-03-13 17:49:12 -07:00
Christopher Jeffrey
b88fc5b0ed cleanup chaindb. 2016-03-13 04:40:07 -07:00
Christopher Jeffrey
f4a1ca3eaf better pruning. use datastore only in node. 2016-03-12 06:07:42 -08:00
Christopher Jeffrey
bb306c3547 better pruning. data store improvements. 2016-03-12 04:59:56 -08:00
Christopher Jeffrey
f79d2cfa89 experimental flat file datastore. 2016-03-12 02:58:01 -08:00
Christopher Jeffrey
3564052340 disconnection fix. 2016-03-11 23:17:33 -08:00
Christopher Jeffrey
fb6787e5ed fix pruning. 2016-03-11 23:01:05 -08:00
Christopher Jeffrey
9b90111a0a refactor. 2016-03-11 22:58:01 -08: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
4f0289f5ab use global ldb cache. 2016-03-10 18:33:02 -08:00
Christopher Jeffrey
419ba83058 refactor. drop dumbcache. 2016-03-10 14:14:19 -08:00
Christopher Jeffrey
9f56efe0d7 more chainblock refactoring. 2016-03-08 14:36:01 -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
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
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
6a644be03f ensure prefix. 2016-02-24 00:07:44 -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
6b6a84a774 full json. cache. 2016-02-22 01:54:42 -08:00
Christopher Jeffrey
d6bef43d71 add http server. 2016-02-21 22:48:42 -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
2fd490922b return chainwork correctly for genesis block. 2016-02-19 22:41:43 -08:00
Christopher Jeffrey
8ed054cbda handle verification better. make use of cache. 2016-02-19 21:00:38 -08:00
Christopher Jeffrey
a9ec49f954 misc fixes. 2016-02-19 19:48:24 -08:00
Christopher Jeffrey
56f68983d3 whitespace 2016-02-19 11:27:11 -08:00
Christopher Jeffrey
5a79637039 undo "fix". 2016-02-19 11:24:58 -08:00
Christopher Jeffrey
5e51b919f2 fix for resetHeight. 2016-02-19 11:24:07 -08:00
Christopher Jeffrey
af59208ad5 cleanup 2016-02-19 09:49:07 -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
9bc3e44a7f misc method improvements. 2016-02-19 03:08:50 -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