Christopher Jeffrey
a7d3626975
db: drop db.fetch.
2016-09-22 06:11:38 -07:00
Christopher Jeffrey
4e11bbbf9f
refactor: locks.
2016-09-22 05:24:18 -07:00
Christopher Jeffrey
8cb6faa078
refactor: browser. benchmarks.
2016-09-22 04:03:01 -07:00
Christopher Jeffrey
f158a73a2d
refactor: fixes. workers. locks.
2016-09-22 02:54:56 -07:00
Christopher Jeffrey
8c11a2aa3f
generators: refactor http.
2016-09-22 01:29:48 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work.
2016-09-22 00:24:59 -07:00
Christopher Jeffrey
60d162eb20
refactor: s/spawn.co/co/g
2016-09-21 22:59:48 -07:00
Christopher Jeffrey
ec0d50d506
refactor: improve generator perf.
2016-09-21 22:58:27 -07:00
Christopher Jeffrey
2899219033
refactor: cleanup.
2016-09-21 11:03:48 -07:00
Christopher Jeffrey
df23810b0c
refactor: fix cli. finish rpc.
2016-09-21 10:46:07 -07:00
Christopher Jeffrey
b616d75128
refactor: db.
2016-09-21 00:14:16 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises.
2016-09-20 15:28:14 -07:00
Christopher Jeffrey
72597c9faf
test: add more mempool tests.
2016-09-19 14:16:14 -07:00
Christopher Jeffrey
d18482507a
mempool: safer handling of wtxs.
2016-09-19 06:53:21 -07:00
Christopher Jeffrey
c0f4225b32
tx/mempool: fix mutated witnesses in rejects filter.
2016-09-19 04:41:29 -07:00
Christopher Jeffrey
27e574c7e5
script: minor.
2016-09-18 14:19:44 -07:00
Christopher Jeffrey
ab052eb81d
script: implement bip114v2.
2016-09-18 14:17:11 -07:00
Christopher Jeffrey
9561b3ee74
rpc: getblocktemplate - abide by bip145.
2016-09-18 12:57:50 -07:00
Christopher Jeffrey
1af3ac63de
chain: bip147.
2016-09-18 12:30:23 -07:00
Christopher Jeffrey
3f77f12c03
rpc: typo.
2016-09-18 12:10:50 -07:00
Christopher Jeffrey
b03a10d790
script: implement bip146 (nullfail).
2016-09-18 12:03:12 -07:00
Christopher Jeffrey
a508d5a51d
rpc: getwork - verify header before mutating current block.
2016-09-17 19:48:42 -07:00
Christopher Jeffrey
5dadb224ca
rpc: lint.
2016-09-17 19:23:45 -07:00
Christopher Jeffrey
170cf0db28
rpc: misc fixes.
2016-09-17 19:20:28 -07:00
Christopher Jeffrey
5e18dddd37
http: make http api safe for spv.
2016-09-17 19:11:08 -07:00
Christopher Jeffrey
d9a3dac869
rpc: make rpc safe for spv mode.
2016-09-17 19:00:58 -07:00
Christopher Jeffrey
666a7b7999
rpc: getwork longpolling and other improvements.
2016-09-17 18:26:54 -07:00
Christopher Jeffrey
d1cfcca3d9
node: fix payout address setting.
2016-09-17 18:26:23 -07:00
Christopher Jeffrey
1096cd0bd9
peer: fix checksum optimization for spv serving.
2016-09-17 18:25:52 -07:00
Christopher Jeffrey
061548f2ac
rpc: more mining nonsense.
2016-09-17 15:27:45 -07:00
Christopher Jeffrey
6598245486
rpc: improve mining.
2016-09-17 06:24:58 -07:00
Christopher Jeffrey
3f5c5cf603
parser: fix header parsing.
2016-09-16 19:36:02 -07:00
Christopher Jeffrey
2881294bf4
parser: minor.
2016-09-16 19:32:48 -07:00
Christopher Jeffrey
58a5372b09
bip151: minor.
2016-09-16 19:26:24 -07:00
Christopher Jeffrey
d6576c51f1
merkleblock: use buffers for tree hashes.
2016-09-16 19:18:00 -07:00
Christopher Jeffrey
eb5d0cf972
peer: refactor.
2016-09-16 18:50:56 -07:00
Christopher Jeffrey
757aeb84c0
parser: minor.
2016-09-16 17:37:14 -07:00
Christopher Jeffrey
1e93d5ec7d
bip151: refactor.
2016-09-16 17:32:44 -07:00
Christopher Jeffrey
5da0aceb38
packets
2016-09-16 17:03:56 -07:00
Christopher Jeffrey
9b097f97b9
walletdb: fix pending tx iteration.
2016-09-16 01:02:03 -07:00
Christopher Jeffrey
7aa2ecb24b
peer: fix serving broadcasted txs.
2016-09-16 00:03:55 -07:00
Christopher Jeffrey
9dd863d9f2
random: require random from crypto.
2016-09-15 13:36:18 -07:00
Christopher Jeffrey
530fbd61dd
ec: fix ecdh with secp256k1-node.
2016-09-15 13:35:14 -07:00
Christopher Jeffrey
19f61773f7
http: fix typo in validation.
2016-09-14 15:54:02 -07:00
Christopher Jeffrey
a34f680f9a
mnemonic: use binary search for lang detection.
2016-09-14 15:53:51 -07:00
Christopher Jeffrey
269b31ad8e
mempool: minor.
2016-09-14 15:53:30 -07:00
Christopher Jeffrey
8daddcc458
mnemonic: use a binary search for word indexes.
2016-09-13 20:06:53 -07:00
Christopher Jeffrey
07285ebdd7
refactor: rename cost to weight.
2016-09-13 02:06:18 -07:00
Christopher Jeffrey
0c90212f6d
refactor: drop all object literals.
2016-09-13 00:13:07 -07:00
Christopher Jeffrey
2dba490d02
crypto: expose scrypt.
2016-09-12 22:56:13 -07:00
Christopher Jeffrey
a52f239f3c
crypto: always use buffers for hmacs.
2016-09-12 22:33:24 -07:00
Christopher Jeffrey
8f0d74d563
crypto: use native checkMerkleBranch.
2016-09-12 22:27:28 -07:00
Christopher Jeffrey
7f31a41e84
perf: start using bcoin-native.
2016-09-12 14:10:20 -07:00
Christopher Jeffrey
27ba246027
ldb: minor.
2016-09-11 02:25:06 -07:00
Christopher Jeffrey
b346397449
db: improve backups.
2016-09-11 00:24:40 -07:00
Christopher Jeffrey
91324b2531
ldb: error on missing features.
2016-09-10 23:56:18 -07:00
Christopher Jeffrey
f3a4a0fb30
db: more aliases.
2016-09-10 22:13:49 -07:00
Christopher Jeffrey
7414e1b65f
ldb: change some lmdb options.
2016-09-10 22:09:05 -07:00
Christopher Jeffrey
681855093c
db: implement hot backups.
2016-09-10 21:31:07 -07:00
Christopher Jeffrey
8d5bd36ac7
walletdb: cleanup.
2016-09-09 12:56:06 -07:00
Christopher Jeffrey
d82f061c83
minor: lint.
2016-09-08 18:38:37 -07:00
Christopher Jeffrey
da054ec3f6
network: remove net def height property.
2016-09-08 18:10:31 -07:00
Christopher Jeffrey
eb74d70e84
network: rename allowMinDifficultyBlocks.
2016-09-08 18:08:16 -07:00
Christopher Jeffrey
6741df1fca
network: refactor. optimize startup time.
2016-09-08 17:59:12 -07:00
Christopher Jeffrey
82a69b88b1
network: add simnet to network types.
2016-09-08 17:47:29 -07:00
Christopher Jeffrey
9d08f8bcb2
minor: whitespace.
2016-09-08 17:44:52 -07:00
Christopher Jeffrey
45e117a186
network: implement btcd simnet.
2016-09-08 17:43:58 -07:00
Christopher Jeffrey
f00eeba5a7
script: refactor isLowDER.
2016-09-07 14:02:52 -07:00
Christopher Jeffrey
4e94d4a594
proxysocket: fix pow.
2016-09-07 13:52:00 -07:00
Christopher Jeffrey
af7846c278
script: removeData should not throw on reencoding of bad pushes.
2016-09-06 22:31:12 -07:00
Christopher Jeffrey
b0d7fc14b1
random: optimize fallback.
2016-09-06 18:21:14 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils.
2016-09-06 15:15:36 -07:00
Christopher Jeffrey
7316a6f395
random: lint.
2016-09-06 11:27:00 -07:00
Christopher Jeffrey
d41f293b40
db: optimize each().
2016-09-06 01:57:53 -07:00
Christopher Jeffrey
a02564e0a1
test: fix http tests.
2016-09-06 00:56:25 -07:00
Christopher Jeffrey
c43c84cde7
mtx: cleanup coin selector.
2016-09-06 00:47:41 -07:00
Christopher Jeffrey
1b87514542
mtx: refactor coin selection.
2016-09-05 23:57:24 -07:00
Christopher Jeffrey
1edb5aa4cf
crypto: add random.js.
2016-09-05 23:33:36 -07:00
Christopher Jeffrey
28acda024a
chaindb: fix reset atomicity.
2016-09-03 16:51:32 -07:00
Christopher Jeffrey
ae2f90890a
wallet/node: refactor node. resend all walletdb txs.
2016-09-02 18:58:10 -07:00
Christopher Jeffrey
0cbab6e72e
schnorr: generate nonce pairs.
2016-09-01 18:10:50 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures.
2016-09-01 02:06:08 -07:00
Christopher Jeffrey
5a41c04bfd
mtx: add setSequence.
2016-08-29 15:01:19 -07:00
Christopher Jeffrey
17487bfcf6
hd: fix generate.
2016-08-29 15:01:10 -07:00
Christopher Jeffrey
97e0122b8b
peer: do not fire events for unknown packets (bad).
2016-08-27 18:41:32 -07:00
Christopher Jeffrey
eb6aec9888
browser: return error for double end().
2016-08-27 15:59:04 -07:00
Christopher Jeffrey
dd53e43958
pool: repurpose regular peers if no loader is available.
2016-08-27 15:53:04 -07:00
Christopher Jeffrey
2d61a43fba
db: fix level-js iterators.
2016-08-27 15:19:51 -07:00
Christopher Jeffrey
a143c78369
config: add querystring parsing.
2016-08-27 14:31:50 -07:00
Christopher Jeffrey
69fa80d353
packets: fix netaddress.setPort.
2016-08-27 13:20:54 -07:00
Christopher Jeffrey
47411fc5e2
proxysocket: minor. fix disconnect handling.
2016-08-27 12:44:12 -07:00
Christopher Jeffrey
51f817a60f
chaindb: refactor scanning.
2016-08-27 12:37:42 -07:00
Christopher Jeffrey
df66dc1277
pool: logs.
2016-08-27 10:57:27 -07:00
Christopher Jeffrey
d94c143b5d
pool: minor fixes.
2016-08-27 10:23:49 -07:00
Christopher Jeffrey
b1c735702c
walletdb: fix logs.
2016-08-26 20:08:39 -07:00
Christopher Jeffrey
6a2d1f639d
pool: fix loader disconnect handling.
2016-08-26 18:39:03 -07:00
Christopher Jeffrey
eabba6e72e
wallet: fix account handling.
2016-08-26 18:26:56 -07:00
Christopher Jeffrey
872560eeb9
address: minor.
2016-08-26 15:27:07 -07:00
Christopher Jeffrey
740e8012a2
wallet: remove getLastTime.
2016-08-26 05:08:07 -07:00
Christopher Jeffrey
06bb874573
node: refactor.
2016-08-26 05:03:28 -07:00
Christopher Jeffrey
c2bcd8fd74
rpc: mempool ancestors and descendants.
2016-08-26 05:00:53 -07:00
Christopher Jeffrey
9fbd2710ab
mempool: fix address index.
2016-08-26 04:50:10 -07:00
Christopher Jeffrey
a14da39384
bip152: refactor siphash.
2016-08-26 02:29:09 -07:00
Christopher Jeffrey
59d4e39a84
refactor: lint.
2016-08-26 01:46:52 -07:00
Christopher Jeffrey
311b0f905f
node: refactor opt parsing.
2016-08-26 01:14:02 -07:00
Christopher Jeffrey
09d699109e
pool: even more refactoring.
2016-08-26 01:13:46 -07:00
Christopher Jeffrey
54dd7c4eb3
pool: more refactoring.
2016-08-26 00:57:07 -07:00
Christopher Jeffrey
d21aadf6b3
peer: refactor.
2016-08-26 00:24:01 -07:00
Christopher Jeffrey
d073f87874
net: logs.
2016-08-25 23:07:03 -07:00
Christopher Jeffrey
902fa59ca9
pool: handle host+port collision between inbound and outbound.
2016-08-25 20:42:28 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths.
2016-08-25 20:40:47 -07:00
Christopher Jeffrey
fa366e56fd
pool: more peer management.
2016-08-25 19:48:34 -07:00
Christopher Jeffrey
0ff93dc705
pool: refactor host and peer list.
2016-08-25 19:30:56 -07:00
Christopher Jeffrey
159679e5eb
pool: keep hostname on net addr.
2016-08-25 18:35:03 -07:00
Christopher Jeffrey
9ed67e0695
pool: repurpose regular peers.
2016-08-25 18:32:21 -07:00
Christopher Jeffrey
b3c061f125
logger: report errors.
2016-08-25 18:31:46 -07:00
Christopher Jeffrey
aa7f105f38
net: bip150 - do not attempt handshake if bip151 handshake failed.
2016-08-25 17:35:45 -07:00
Christopher Jeffrey
7b61e32a70
config: refactor. handle paths better.
2016-08-25 17:27:21 -07:00
Christopher Jeffrey
ea53dc0fca
config: fix option.
2016-08-25 14:59:41 -07:00
Christopher Jeffrey
22e90303a2
siphash: refactor.
2016-08-25 14:47:50 -07:00
Christopher Jeffrey
8f51d36655
browser: rename layout-browser.
2016-08-25 14:20:34 -07:00
Christopher Jeffrey
e5f1dc79ed
txdb: refactor balance.
2016-08-25 14:09:22 -07:00
Christopher Jeffrey
7c1c2b2d15
pool: disable alert on main. see bitcoin/bitcoin#7692 .
2016-08-25 03:37:33 -07:00
Christopher Jeffrey
455dc027ee
pool: alert.
2016-08-25 03:35:02 -07:00
Christopher Jeffrey
1d55cd1b7e
fullnode: less spam.
2016-08-25 02:52:02 -07:00
Christopher Jeffrey
ec8e3e0359
wallet: log and rpc fixes.
2016-08-25 02:35:39 -07:00
Christopher Jeffrey
d663eef37e
net: refactor framer and parser.
2016-08-25 01:35:20 -07:00
Christopher Jeffrey
40e028f182
db: use string keys for browser.
2016-08-24 20:11:33 -07:00
Christopher Jeffrey
86cf01f927
fullnode: less spam.
2016-08-24 10:11:02 -07:00
Christopher Jeffrey
150c09786a
ldb: refactor.
2016-08-24 08:49:58 -07:00
Christopher Jeffrey
0b9e3df545
ldb: max open files.
2016-08-24 08:41:51 -07:00
Christopher Jeffrey
ad46d3e243
env: lazily load modules.
2016-08-24 07:12:44 -07:00
Christopher Jeffrey
676563125d
chaindb: optimize key parsing.
2016-08-24 05:47:31 -07:00
Christopher Jeffrey
f7b61278d0
http: fix require.
2016-08-24 05:21:05 -07:00
Christopher Jeffrey
8c00722dda
refactor: fix workers.
2016-08-24 05:03:04 -07:00
Christopher Jeffrey
6105095379
refactor: more restructuring.
2016-08-24 04:59:06 -07:00
Christopher Jeffrey
ab58f2481c
config: fixes.
2016-08-24 04:34:43 -07:00
Christopher Jeffrey
73c54cf5ed
refactor: lint.
2016-08-24 04:15:03 -07:00
Christopher Jeffrey
79f7610145
refactor: wordlists.
2016-08-24 04:10:46 -07:00
Christopher Jeffrey
bdf5058546
refactor: hd, script, and wallet.
2016-08-24 04:08:40 -07:00
Christopher Jeffrey
177272a2c5
refactor: env.
2016-08-24 02:20:27 -07:00
Christopher Jeffrey
3b17b8e775
refactor: browser.
2016-08-24 01:44:17 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again).
2016-08-24 01:36:42 -07:00
Christopher Jeffrey
cbb2fa5c54
uri: rewrite.
2016-08-24 01:16:48 -07:00
Christopher Jeffrey
ac5aa5b04c
keyring: fix serialization.
2016-08-24 00:19:33 -07:00
Christopher Jeffrey
16ed6d8d87
refactor: fixes.
2016-08-24 00:03:06 -07:00
Christopher Jeffrey
1c6d092545
cli/browser: update paths.
2016-08-24 00:01:59 -07:00
Christopher Jeffrey
10bb8d1e18
refactor: even more restructuring.
2016-08-23 23:56:50 -07:00
Christopher Jeffrey
a3c24938b9
refactor: more restructuring.
2016-08-23 23:26:50 -07:00
Christopher Jeffrey
d350338c98
refactor: more moving around.
2016-08-23 22:57:59 -07:00
Christopher Jeffrey
7f6849b6a6
refactor: fix pathnames.
2016-08-23 22:43:20 -07:00
Christopher Jeffrey
70a806bc5a
refactor dir structure.
2016-08-23 22:16:52 -07:00
Christopher Jeffrey
6d1b701c8a
browser: clean things up for browserify.
2016-08-23 22:07:51 -07:00
Christopher Jeffrey
73f9a2a622
pool/peer: major refactor.
2016-08-23 19:55:02 -07:00
Christopher Jeffrey
581e4e3ce5
env: minor.
2016-08-23 06:42:31 -07:00
Christopher Jeffrey
23f9e543be
bip150/bip151: destroy on peer close.
2016-08-23 05:54:41 -07:00
Christopher Jeffrey
db07d42803
bip150: drop peers that do not auth.
2016-08-23 05:50:45 -07:00
Christopher Jeffrey
1e1ee18e09
bip150: consistency.
2016-08-23 05:40:33 -07:00
Christopher Jeffrey
799d3ba55d
bip150: add authorized-peers and known-peers files.
2016-08-23 05:28:45 -07:00
Christopher Jeffrey
51975003c2
bip150: display bip150 address to user.
2016-08-23 04:22:46 -07:00
Christopher Jeffrey
134bece292
bip150: first implementation.
2016-08-23 04:16:11 -07:00
Christopher Jeffrey
9ed0906661
wallet: rename getKeyring.
2016-08-22 23:07:45 -07:00
Christopher Jeffrey
f6f0dceaab
fees: minor.
2016-08-22 23:01:38 -07:00
Christopher Jeffrey
7b723baedd
wallet: lint.
2016-08-22 22:44:08 -07:00
Christopher Jeffrey
5e49bce310
fees: refactor.
2016-08-22 22:37:58 -07:00
Christopher Jeffrey
9ced2df5fa
bip152: optimize.
2016-08-22 22:36:51 -07:00
Christopher Jeffrey
049be2086d
bip151: update to conform to spec.
2016-08-22 22:36:33 -07:00
Christopher Jeffrey
8f8cf4fca6
mempool: minor.
2016-08-22 22:22:19 -07:00
Christopher Jeffrey
3d4b0d9a61
peer: minor.
2016-08-22 22:11:23 -07:00
Christopher Jeffrey
b55068f30d
chaindb: optimize.
2016-08-22 21:57:18 -07:00
Christopher Jeffrey
3a43a9aefa
keyring: remove keypair.
2016-08-22 19:18:39 -07:00
Christopher Jeffrey
3cac0a96d2
http: better events.
2016-08-22 19:08:39 -07:00
Christopher Jeffrey
2472054862
network: more checkpoints.
2016-08-22 18:23:13 -07:00
Christopher Jeffrey
52f00c8fe2
walletdb: lock during rescan.
2016-08-22 18:13:22 -07:00
Christopher Jeffrey
aec3548b26
walletdb: fix reorg handling.
2016-08-22 17:55:44 -07:00
Christopher Jeffrey
908d2eb9a9
wallet: account type check.
2016-08-22 16:04:27 -07:00
Christopher Jeffrey
14da6a0875
http: refactor websocket handling.
2016-08-22 15:27:22 -07:00
Christopher Jeffrey
375699c6c5
walletdb: refactor.
2016-08-22 14:56:41 -07:00
Christopher Jeffrey
4590f94aae
walletdb: v2.
2016-08-21 13:47:16 -07:00
Christopher Jeffrey
1e2d85e7db
wallet: import key and subtract fee.
2016-08-21 13:44:32 -07:00
Christopher Jeffrey
e5d23945b1
mtx: maxFee option.
2016-08-21 12:17:24 -07:00
Christopher Jeffrey
8ed5016108
lint.
2016-08-21 12:07:36 -07:00
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
Christopher Jeffrey
62f687917f
mtx: fix subtractFee.
2016-08-08 14:54:56 -07:00
Christopher Jeffrey
45d424470d
rpc: fix tx details.
2016-08-08 13:19:38 -07:00
Christopher Jeffrey
7d4a683eaa
miner: fix status on workers.
2016-08-08 12:26:13 -07:00
Christopher Jeffrey
b6417cf337
misc: fixes.
2016-08-07 16:32:14 -07:00
Christopher Jeffrey
4a398517d9
rpc: add RPCError.
2016-08-05 15:07:04 -07:00
Christopher Jeffrey
3406a09cd5
rpc: listsinceblock.
2016-08-05 14:49:59 -07:00
Christopher Jeffrey
d32df008df
rpc: add listsinceblock.
2016-08-05 14:44:48 -07:00
Christopher Jeffrey
42e03c227a
rpc: fixes for net and mining.
2016-08-05 14:32:29 -07:00
Christopher Jeffrey
6299b99614
rpc: implement getmininginfo.
2016-08-05 14:27:10 -07:00
Christopher Jeffrey
ac774fbe3a
server: fix rpc auth.
2016-08-05 14:10:32 -07:00
Christopher Jeffrey
0a217e7be2
rpc: add wallet txs.
2016-08-05 14:02:10 -07:00
Christopher Jeffrey
ce7f300260
wallet: add wallet.send.
2016-08-05 13:38:27 -07:00
Christopher Jeffrey
8fe79fc7e7
chain: fix witness check.
2016-08-04 15:46:33 -07:00
Christopher Jeffrey
3cbc5e2726
config: expose index-tx and index-address.
2016-08-04 13:44:45 -07:00
Christopher Jeffrey
2ada7b9e90
wallet: optimize syncOutputDepth.
2016-08-03 17:00:42 -07:00
Christopher Jeffrey
edb9c5afc6
peer: check broadcast list for getblocktxn.
2016-08-02 13:47:29 -07:00
Christopher Jeffrey
765c3d2b77
protobuf: fix safe int check.
2016-08-02 11:23:41 -07:00
Christopher Jeffrey
0b24daba31
chaindb: optimize coin size checking.
2016-08-01 23:42:16 -07:00