Christopher Jeffrey
d26db89a21
mtx: refactor.
2016-08-21 11:04:56 -07:00
Christopher Jeffrey
d17ba07475
mempool: mem usage estimation.
2016-08-21 11:04:47 -07:00
Christopher Jeffrey
9c8d4d185f
rpc: minor.
2016-08-21 01:04:57 -07:00
Christopher Jeffrey
0873f7abe8
rpc: importwallet.
2016-08-19 20:46:52 -07:00
Christopher Jeffrey
d6e4978baf
wallet/buffer/rpc: fix serialization and buffer writes. import keys.
2016-08-19 18:09:49 -07:00
Christopher Jeffrey
4b008540e0
wallet: key importing.
2016-08-19 12:39:50 -07:00
Christopher Jeffrey
eecae63cf3
walletdb: custom addresses.
2016-08-19 02:29:55 -07:00
Christopher Jeffrey
c836786b99
mtx/wallet: refactor keyring.
2016-08-19 00:39:56 -07:00
Christopher Jeffrey
0f23304a68
mtx: maxSize.
2016-08-18 20:29:30 -07:00
Christopher Jeffrey
34f59e8a60
mtx: refactor.
2016-08-18 20:04:31 -07:00
Christopher Jeffrey
a42d11cb80
mtx: signing work.
2016-08-18 18:27:17 -07:00
Christopher Jeffrey
b6c8362c63
mtx: more refactoring.
2016-08-18 15:07:54 -07:00
Christopher Jeffrey
0db8677139
mtx: refactor templating.
2016-08-18 06:18:34 -07:00
Christopher Jeffrey
e8f2c3321c
wallet: multiple refactors.
2016-08-18 05:35:34 -07:00
Christopher Jeffrey
0765f44b5b
chaindb: ready for migration.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4a0eaa6b34
ldb: options.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
048a99b9ba
lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
833e5491f1
db: expose layouts.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e817b89653
chaindb: endianness.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
096957ccb9
chaindb: strict arg checking.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0208f9383c
chaindb: check options.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b0aebb9c84
coins: optimize.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
578ff8f684
lru: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d7ac63755f
wallet: sign refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
990d5c2baf
locker: more locker cleanup.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
97a2f2e86a
locker: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cdbf7c1e8c
locker: automatically wrap callbacks.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7c73d2a898
block: fix miner assertion failure.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4c62cc8451
coins: minor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8ee0cf8604
chaindb: chain state buffer hash.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
bf20425e11
chaindb: state work.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4502e942d4
chaindb: chain state.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2831af4300
wallet: refactor. add hd key destroy methods.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
731e615b86
chain: fix retarget.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4b85715ec2
do not accept mutable txs anywhere except wallet.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4203999b81
txdb: handle spent coins better.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
841cb290d8
major db and async object refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
911e4f541e
chaindb: minor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5f43c429a9
mempool: minor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0ca46228f5
rpc: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
3841eb3e58
rpc: fix getrawtransaction.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
581a658808
logger: less spam.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8765bf5a6d
wallet: more refactoring.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
90349b8244
rpc: add more calls. refactor validation.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2c0aacf426
wallet: refactor variable names.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d0c4ea008b
http: catch rpc errors.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
197e9f7aa9
wallet/mempool: lint. spvnode.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2fdfdd3c8a
walletdb: store addr type on path.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c93de907fe
merkleblock: add indexOf.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d053a25f53
peer: add lastSend and lastRecv.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
74ec03607b
walletdb: move and rename some methods. add hash to path.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e235f3bee6
txdb: add coin locking system.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
77502ca496
mempool: max size and logs.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
ebcfe66638
walletdb: allow utf8 wallet and account names.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
72188e42c2
mempool: accurate memory usage.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
bd9a41dcbe
http: get account.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
70684d37c3
http: fix range route.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e2d530c0da
wallet: range fixes. tests.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
1a8d7084a5
mempool: docs.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0b2023d62c
mempool: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
82ca244669
mempool: cleanup. more sync methods.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e517a7a9f7
txdb: fix iterators.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
634e1603a4
rpcclient: fix error messages.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
a278146a33
txdb: lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
727380a69a
txdb: refactor layout.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
53f209dda5
mempool: clean up comments. misc.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
31d2f36c42
rpc: mempool.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
af585e2bbd
mempool: more refactoring.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b0caa3f03a
mempool: keep everything on the js heap.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c8bc9fb8b6
mempool: rewrite.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c794c17077
walletdb: lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0f3f9c984b
txdb: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
80103454c0
walletdb: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
fbce69dbad
fuck slashes.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b77c0995ba
walletdb: use buffer keys.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
16204a4794
walletdb: use layout for walletdb and txdb.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
989aa15a4c
keyring: do not listen for all types of addrs.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7f936ade4d
wallet: rename some methods. cleanup.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
49f56f786f
keyring: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cfad740b09
walletdb: fixes.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
17b176141e
lowlevelup: each.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e503b7ecad
walletdb: fixes and lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5519ecdfec
request: add timeout.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b6e9019d56
wallet: rename label to id and id to wid.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9e2dd9145f
wallet: switch to using number ids.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c147e5bdf3
walletdb: better block management.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e7329b2d1a
chaindb: refactor scanning.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7259ffa91e
lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7e3575129a
rpc: add custom getmemory call.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e324e08bef
walletdb: better pathinfo and details handling.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0a5fcad5e8
keyring: add derive method.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
1e98ce25d9
walletdb: remove global methods. in-memory balance.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9a1ba962fd
walletdb: minor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
6e770279db
wallet: use private key for token hash.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
487efb6639
http: add chain watching and scanning.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
59d4fa22ce
http: more validation.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
f42d60769b
http: cli and client refactoring.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
30b7421ea7
http: better api key handling.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2b630ad99c
http: api refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cbed60e900
wallet/http: fix events.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4b9753d3c3
txdb: balance object.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c4f16f8d72
wallet: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8ef70978d0
wallet: events.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
45867fffb6
wallet: move handleTX.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
09d8ee224c
txdb: give txdb a reference to wallet.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
827f72ebc0
txdb: refactor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5b1a7a89ac
txdb-wallet.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
edb8a50c63
txdb: lint.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e50cbc911c
txdb: remove updated event.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
63c9c81831
txdb: refactor. clean up.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c582a0fad8
fullnode: add noScan option.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
870f6e65b4
chaindb: scan logs.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
817a6c3031
txdb: optimize.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9c94fae2a8
txdb: refactor batches.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
400680e208
work
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
092a0968ad
txdb: minor.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
26845593b9
txdb: drop old details methods.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e098fdeca4
rpc: refactor listunspent.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e910147544
rpc: fix listunspent.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
3265e80c8e
rpc: tx json yet again.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
24ca0d9fc2
rpc: tx json again...
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
532e46b2d1
rpc: tx json again.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
6b639017d4
rpc: fix tx json.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
de55c82227
txdb: fix getMember.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e8cb71447c
txdb: fix rpc categorization.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
abd267b7d2
wallet: drop wallet map in favor of path info and tx details.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
914bc8435d
txdb: details and pathinfo.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
759365ca25
wallet: stricter key checks.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0eaa42bb42
rpc: explicitly pass in height and network.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e872f5985c
rpc: getreceivedbyaccount.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
780601b3b7
rpc: abandontransaction.
2016-08-18 02:09:30 -07:00
Chris Kleeschulte
13cfd8aa43
Calling process.hrtime is predicated on being called with
...
an Array type with two elements or with no explicit parameters.
Node 4 (LTS) seems to be persnickety regarding matching undefined as a
actual parameter in process.hrtime (and possibly all functions).
2016-08-11 22:07:13 -04:00
Christopher Jeffrey
e59fe9bf6d
rpc: prioritisetransaction.
2016-08-10 19:47:52 -07:00
Christopher Jeffrey
a0d109f52d
rpc: gettxoutproof and verifytxoutproof.
2016-08-10 19:35:01 -07:00
Christopher Jeffrey
b50f8cc2bb
rpc: getaddednodeinfo.
2016-08-10 18:58:40 -07:00
Christopher Jeffrey
f0c9f1ba81
rpc: fundrawtransaction.
2016-08-10 18:50:32 -07:00
Christopher Jeffrey
1fca8fe645
rpc: add listunspent.
2016-08-10 18:41:36 -07:00
Christopher Jeffrey
295e0d74bd
rpc: s/cost/weight/
2016-08-10 17:30:45 -07:00
Christopher Jeffrey
1b3233e948
rpc: minor style.
2016-08-10 17:25:58 -07:00
Christopher Jeffrey
c7b725450a
rpc: implement getblocktemplate versionbits and polling.
2016-08-10 17:21:58 -07:00
Christopher Jeffrey
a653707a17
walletdb: serious change.
2016-08-10 14:02:50 -07:00
Christopher Jeffrey
cadd3f31ea
rpc: minor.
2016-08-09 21:25:11 -07:00
Christopher Jeffrey
cfee08d58e
rpc: fix findFork.
2016-08-09 21:14:30 -07:00
Christopher Jeffrey
242fbd0a59
rpc: optimize getchaintips.
2016-08-09 21:12:53 -07:00
Christopher Jeffrey
20a8d23c76
rpc: softforks and chain tips.
2016-08-09 19:16:52 -07:00
Christopher Jeffrey
7490ea2b87
rpc: error handling.
2016-08-09 13:07:03 -07:00
Christopher Jeffrey
719222b61d
miner: fix miner.stop().
2016-08-09 12:34:15 -07:00
Christopher Jeffrey
6ee7ac8a51
rpc: fix getrawmempool.
2016-08-09 12:22:07 -07:00
Christopher Jeffrey
d26787b389
txdb: make ps constant.
2016-08-08 18:10:37 -07:00
Christopher Jeffrey
4893c7dba5
rpc: misc fixes.
2016-08-08 15:55:00 -07:00