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
Christopher Jeffrey
d86c439017
chachapoly: optimize for little-endian.
2016-08-01 01:19:09 -07:00
Christopher Jeffrey
ac42de6cfb
fullnode: remove bullshit scanning algorithm.
2016-07-31 22:10:37 -07:00
Christopher Jeffrey
1d971b0de0
crypto: improve ccmp.
2016-07-31 20:18:29 -07:00
Christopher Jeffrey
104458a483
rpc: implement more methods.
2016-07-31 20:11:22 -07:00
Christopher Jeffrey
666ff94ddf
ec: recover.
2016-07-31 11:03:23 -07:00
Christopher Jeffrey
bf63691fd2
http: have json rpc use server api key.
2016-07-30 20:39:13 -07:00
Christopher Jeffrey
b1dc35743b
utils: toFastProperties.
2016-07-30 19:47:41 -07:00
Christopher Jeffrey
89d6d73257
bip152: fix passing of _valid.
2016-07-30 18:41:39 -07:00
Christopher Jeffrey
f8c3f37f0c
keypair: minor.
2016-07-30 18:24:45 -07:00
Christopher Jeffrey
7ec21588ac
config: parsing.
2016-07-30 14:11:53 -07:00
Christopher Jeffrey
ec41bf2be5
config: fix arg aliasing.
2016-07-30 13:53:43 -07:00
Christopher Jeffrey
0343140f0a
memblock: optimizations.
2016-07-30 13:44:18 -07:00
Christopher Jeffrey
a03465632a
browser: ldb.
2016-07-30 11:49:01 -07:00
Christopher Jeffrey
90c4f3dcf6
browser: update index.html. misc fixes.
2016-07-29 18:49:41 -07:00
Christopher Jeffrey
0067ddfac1
pool: minor.
2016-07-29 16:19:13 -07:00
Christopher Jeffrey
dfaadd41c6
config: add configuration parser.
2016-07-29 15:40:39 -07:00
Christopher Jeffrey
5364a92308
bip70: whitespace.
2016-07-29 13:25:01 -07:00
Christopher Jeffrey
7d8da2d377
bip70: throw on bad curve.
2016-07-29 13:24:02 -07:00
Christopher Jeffrey
41cc642a32
bip70: javascript rsa implementation.
2016-07-29 13:19:17 -07:00
Christopher Jeffrey
a987513ce9
pool: maxPeers option.
2016-07-28 22:33:11 -07:00
Christopher Jeffrey
a0e0ecdd73
workers: payload length.
2016-07-28 11:57:47 -07:00
Christopher Jeffrey
e709cbeae5
bip151: refactor.
2016-07-27 17:23:15 -07:00
Christopher Jeffrey
6448cea1e7
workers: refactor.
2016-07-27 17:17:17 -07:00
Christopher Jeffrey
812b73ffbc
bip151: use reference slices initially for parsing.
2016-07-27 16:26:43 -07:00
Christopher Jeffrey
28c7ee69e4
crypto: optimize hkdf and pbkdf2.
2016-07-27 07:06:28 -07:00
Christopher Jeffrey
4e977810ce
merkleblock/utils: optimize merkle root calculation.
2016-07-27 06:52:16 -07:00
Christopher Jeffrey
868512e054
chain: remove spv preload.
2016-07-27 06:27:27 -07:00
Christopher Jeffrey
d2ec66c4b7
bip151: remove useless slice.
2016-07-27 06:13:01 -07:00
Christopher Jeffrey
432ee64713
workers: optimize protocol more.
2016-07-27 06:07:53 -07:00
Christopher Jeffrey
52dd3c2cdc
peer: error handling.
2016-07-27 05:52:27 -07:00
Christopher Jeffrey
0b620c2e47
workers: refactor worker protocol.
2016-07-27 05:46:15 -07:00
Christopher Jeffrey
cd8adbcc74
protocol: optimize framer.
2016-07-27 05:40:57 -07:00
Christopher Jeffrey
20d69b7cbc
optimize parsers.
2016-07-27 04:56:07 -07:00
Christopher Jeffrey
0fa972dcb3
refactor parsers.
2016-07-27 04:10:08 -07:00
Christopher Jeffrey
6a2615d3cc
bip151: 32 bit sequence and 64 bit iv.
2016-07-27 04:06:05 -07:00
Christopher Jeffrey
db0552874b
bip151: more micro-optimization.
2016-07-27 03:59:24 -07:00
Christopher Jeffrey
227e9a18b2
workers: optimize parser.
2016-07-27 02:25:30 -07:00
Christopher Jeffrey
3f6a93e180
bip151: refactor parser.
2016-07-27 02:25:21 -07:00
Christopher Jeffrey
01471d6e63
bip151: add minimum packet size.
2016-07-27 01:42:53 -07:00
Christopher Jeffrey
594bbc8b1d
bip151: micro-optimization.
2016-07-27 01:22:57 -07:00
Christopher Jeffrey
208394596e
bip151: use 64 bit sequence numbers for now.
2016-07-27 01:08:50 -07:00
Christopher Jeffrey
6720ecc2c8
bip151: minor.
2016-07-27 00:50:50 -07:00
Christopher Jeffrey
2bd90910b4
bip151: authenticate payload before decryption.
2016-07-27 00:46:39 -07:00
Christopher Jeffrey
f837317ffd
bip151: fix aead aad etm.
2016-07-26 23:39:21 -07:00
Christopher Jeffrey
08bc5ba0a8
bip151: use plaintext packet size as aad (openssh conformance).
2016-07-26 21:49:57 -07:00
Christopher Jeffrey
b6dbc5f709
node: add rpc user and password env variables.
2016-07-26 18:16:03 -07:00
Christopher Jeffrey
bea7bc4677
http: autogen rpc creds.
2016-07-26 18:14:14 -07:00
Christopher Jeffrey
91a1477aeb
http: add bitcoind-compatible json-rpc server.
2016-07-26 18:10:05 -07:00
Christopher Jeffrey
e303ab4ee1
peer: minor renaming for consistency.
2016-07-26 14:25:15 -07:00
Christopher Jeffrey
1c9d283f26
bip151: docs.
2016-07-26 14:07:06 -07:00
Christopher Jeffrey
c085d446ab
peer: minor.
2016-07-26 12:42:31 -07:00
Christopher Jeffrey
7b9eb8b4f2
peer: make bip151 handling less hacky.
2016-07-26 12:23:40 -07:00
Christopher Jeffrey
bccbef0aaa
chain: minor segnet3 fix.
2016-07-26 12:05:18 -07:00
Christopher Jeffrey
c0ac60e291
chain: minor fix for segnet3.
2016-07-26 02:20:36 -07:00
Christopher Jeffrey
b7c280a84c
bip151: minor refactor.
2016-07-26 02:18:40 -07:00
Christopher Jeffrey
c597d7c411
bip151: overflow sequence number properly.
2016-07-26 01:19:57 -07:00
Christopher Jeffrey
018241fc78
bip151: set processed to zero on rekey.
2016-07-26 01:14:35 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more.
2016-07-26 01:08:42 -07:00
Christopher Jeffrey
4af5273c0e
bip151: minor arg fix.
2016-07-25 23:13:06 -07:00
Christopher Jeffrey
eb9f35c8b4
bip151: set aad again.
2016-07-25 22:18:01 -07:00
Christopher Jeffrey
b0bb5d516d
chachapoly: do not reinitialize state.
2016-07-25 22:11:32 -07:00
Christopher Jeffrey
73deb5430e
bip151: max message size.
2016-07-25 21:46:00 -07:00
Christopher Jeffrey
94af094322
bip151: whitespace.
2016-07-25 18:53:57 -07:00
Christopher Jeffrey
a86a374ca5
node: add bip151 option.
2016-07-25 18:26:29 -07:00
Christopher Jeffrey
b455352708
peer/bip151: rewrite bip151. handle bip151 on p2p network.
2016-07-25 18:24:30 -07:00
Christopher Jeffrey
233af72b7f
peer: minor.
2016-07-25 16:00:14 -07:00
Christopher Jeffrey
84e2848c2a
remove profiler.
2016-07-25 15:56:39 -07:00
Christopher Jeffrey
1faa887eb6
mempool: disable verify_witness by default.
2016-07-25 15:53:12 -07:00
Christopher Jeffrey
8ba429d76c
mempool: logs.
2016-07-25 15:49:14 -07:00
Christopher Jeffrey
3f874b31e5
pool: minor.
2016-07-25 14:44:33 -07:00
Christopher Jeffrey
1356a3c7ab
mempool: logs.
2016-07-25 14:43:16 -07:00
Christopher Jeffrey
e3389ac28b
peer: send havewitness only for segnet3.
2016-07-25 14:22:08 -07:00
Christopher Jeffrey
bc7b6f487b
peer: handle ENOTFOUND.
2016-07-25 14:18:23 -07:00
Christopher Jeffrey
0dea0888e2
pool: add ignore list.
2016-07-25 14:11:57 -07:00
Christopher Jeffrey
6ed877c06c
logger: make logs less spammy.
2016-07-25 11:52:48 -07:00
Christopher Jeffrey
31bceddfa5
parser: fix bip152 typos.
2016-07-25 11:35:13 -07:00
Christopher Jeffrey
064ba7df9b
bip152: fixes. refactor.
2016-07-25 11:32:35 -07:00
Christopher Jeffrey
642f3c715f
peer: do not send getblocks to non-network-service peers.
2016-07-25 01:47:08 -07:00
Christopher Jeffrey
2b783e8f6e
more compact block logs.
2016-07-25 01:26:01 -07:00
Christopher Jeffrey
20d52ca110
pool: better peer options handling.
2016-07-25 01:22:31 -07:00
Christopher Jeffrey
8bd52cff0a
chaindb: cache 25mb of coins.
2016-07-25 01:20:26 -07:00
Christopher Jeffrey
b860894471
peer: compact block logs.
2016-07-25 00:13:38 -07:00
Christopher Jeffrey
c9e8f779f3
network: rename segwitHeight.
2016-07-25 00:08:20 -07:00
Christopher Jeffrey
cdbe6fc940
node: witness option. announce services properly.
2016-07-25 00:01:56 -07:00
Christopher Jeffrey
cd4bcb48e8
disable segwit for testnet, for now.
2016-07-24 23:53:12 -07:00
Christopher Jeffrey
e884a9ed48
temporary fix for segwit networks.
2016-07-24 23:50:01 -07:00
Christopher Jeffrey
cc6018a94e
chain: use separate state caches for separate deployments.
2016-07-24 23:09:22 -07:00
Christopher Jeffrey
d68d79841a
network: add block batch size.
2016-07-24 22:14:39 -07:00
Christopher Jeffrey
83c1f8853d
chain: keep track of processing time for blocks.
2016-07-24 20:52:36 -07:00
Christopher Jeffrey
af50f5e1c6
env variables. request more blocks during sync.
2016-07-24 19:02:12 -07:00
Christopher Jeffrey
6a760136a9
bip70/x509: only store cert fingerprints.
2016-07-23 07:18:43 -07:00
Christopher Jeffrey
83bab4d382
add bip70 tests.
2016-07-23 06:53:02 -07:00
Christopher Jeffrey
1d447683cb
x509: refactor.
2016-07-23 05:06:14 -07:00
Christopher Jeffrey
8e5ca9f41e
bip70: details.getData.
2016-07-23 04:59:24 -07:00
Christopher Jeffrey
0cbae18f1f
protobuf: optimize varint reading.
2016-07-23 04:35:06 -07:00
Christopher Jeffrey
5dbebe14d9
bip70: x509 improvements.
2016-07-23 04:12:03 -07:00
Christopher Jeffrey
54cf5ce341
bip151: minor.
2016-07-22 22:40:13 -07:00
Christopher Jeffrey
16eaa4402e
bip70: minor.
2016-07-22 22:03:10 -07:00
Christopher Jeffrey
072f5d6348
lint.
2016-07-22 22:00:46 -07:00
Christopher Jeffrey
46969c6f3a
bip70: fix signing.
2016-07-22 21:57:42 -07:00
Christopher Jeffrey
ac601e3675
implement bip70.
2016-07-22 21:26:59 -07:00
Christopher Jeffrey
2d2f11b5dc
optimize readVarint.
2016-07-21 14:26:42 -07:00
Christopher Jeffrey
ee08278654
lint.
2016-07-21 12:38:31 -07:00
Christopher Jeffrey
27684e9661
if we're going to have checkpoints, might as well optimize the hell out of them.
2016-07-21 12:36:11 -07:00
Christopher Jeffrey
04565cfadb
bip151: improve rekey test.
2016-07-21 10:14:58 -07:00
Christopher Jeffrey
e7347dd620
bip151: fixes and tests.
2016-07-21 09:21:36 -07:00
Christopher Jeffrey
8bcfeca44e
constants: zero key.
2016-07-21 08:41:26 -07:00
Christopher Jeffrey
bb0149e603
docs
2016-07-21 05:37:58 -07:00
Christopher Jeffrey
9cc05a488a
utils.
2016-07-21 05:27:42 -07:00
Christopher Jeffrey
253a6795a3
move crypto to its own module.
2016-07-21 05:21:22 -07:00
Christopher Jeffrey
78919ffde7
pool fixes and refactor.
2016-07-21 04:50:28 -07:00
Christopher Jeffrey
95067ba938
compact block relay support.
2016-07-20 19:42:19 -07:00
Christopher Jeffrey
a85f3edde5
bip152: always use witness serialization.
2016-07-20 14:51:44 -07:00
Christopher Jeffrey
b939de9423
use hkdf for bip151.
2016-07-20 14:39:21 -07:00
Christopher Jeffrey
2ec1f33cde
implement hkdf.
2016-07-20 14:25:18 -07:00
Christopher Jeffrey
0ffafa3238
bip152: fixes and tests.
2016-07-18 18:56:40 -07:00
Christopher Jeffrey
2feef87331
fixes and cleanup.
2016-07-18 02:02:49 -07:00
Christopher Jeffrey
34ecf9b318
aes: minor.
2016-07-16 16:52:19 -07:00
Christopher Jeffrey
3186aaa6cc
fix for createAccount.
2016-07-16 15:51:49 -07:00
Christopher Jeffrey
a70b615fd2
http client.
2016-07-16 15:41:26 -07:00
Christopher Jeffrey
2d8274b46e
lint.
2016-07-16 14:56:27 -07:00
Christopher Jeffrey
97f25f29f5
use supersha.
2016-07-16 14:32:06 -07:00
Christopher Jeffrey
8d497bca1e
script: minor.
2016-07-16 12:17:08 -07:00
Christopher Jeffrey
4381cb5d84
optimize tx.fillCoins.
2016-07-15 20:06:18 -07:00
Christopher Jeffrey
98eeaf0af3
optimize witness serialization.
2016-07-15 18:56:38 -07:00
Christopher Jeffrey
36029b8882
fix mutable tx parsing.
2016-07-15 18:51:44 -07:00
Christopher Jeffrey
11947a6ba8
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d4356e6255
cleanup elliptic usage for new version (hybrid keys).
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
448771a6fe
walletdb: minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5e52c7f373
benchmarks.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
84b94fd1b5
fix scrypt worker.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b81a6b3ea1
async signing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
33d2803d4c
more worker serialization.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
678da4671a
fix hd cache.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
cbd8447d80
walletdb: minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f4a70df1a0
logs for deployment activation.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
74c999abe3
refactor websocket api.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
ba4ce73a8d
rename fill to fund.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
52c46e83ed
add scanning test.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
dd70c3167b
refactor txdb block handling.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3ac22f0338
comment.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e51736728e
drop old scanning. always rescan blockchain on boot.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1c9c06b4f9
add chain scanner.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3def705d35
expose chain deployment state.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
196f3ca861
ensure full atomicity in wallet.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
850b16fa7d
use libsecp256k1 for hd derivation.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
350c76d49b
fix getAccounts.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e1bd82355
comments. cleanup.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
682596fb05
http tests. caches.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a60a48da9a
http test. fix path parsing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
747c1a4949
optimize getRandom.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a6dc5a08c8
misc. fix rejects filter additions.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4a8768bcd2
api keys.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
2b41cfb9bd
temporary fix for "inverse" malleability.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4f715d86c7
fix commitment hash checking.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
799c4a8d6e
pool: reconnect to regular peers.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1c73374e55
binary insert and buffer uniqify.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c9c38e860b
more coin serialization.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e9bd890c8b
optimize coins serialization.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9cc7b529d6
logger.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c27466a7c5
avoid duplicate hash table lookups.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a3bb955d95
walletdb best hash. fix spv chain.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
80d8c2b3c8
walletdb accounts.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
70225dcb57
master key future-proofing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5115b43435
iterate options.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
40217ebebe
remove profiler.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
20e0d6632d
miner.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0dc2b41f5e
more path stuff.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f8fadb73a7
more type checking.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
bbe8943bf4
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6f345df018
coins format.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
28f6ebe43f
remove globals. add logger.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
ba6d4821cc
hd
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e80785654c
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e41a44b9a4
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a3d2c0a089
rbt: minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
49260aea10
start using a red black tree for in-memory databases.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e8c3a4487
fix rbt traversal.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0d0b6c562e
lint.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5cb23020ff
implement coin spent field.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6ce27b82f3
add red black tree for mempool.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e38237f87
fix network.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e046825145
sigcache.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f01a1a0c6e
keypair object.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
33ed409529
network references.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
503cbfc886
address: types and MAST.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
afa7862e55
add script types.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
727dc66252
more tx method refactoring.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9e4e6c8242
lru again.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6062972da5
lru. comments.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
27a8a83969
priority. checkInputs. chainValue.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4bf962638e
lru.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
996bbc6b21
add version error to ldb.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6a17599f15
script refactor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
08692957c7
simplify ec.publicKeyConvert.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4bf31f32bf
hd refactor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b59f6ae384
fix minimal check. small ints.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4e80320953
better coin compression.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6c419cc754
pubkey compression.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
745e89131c
refactor script testing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
87a94639d4
fix parse error. misc.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
ab8fff71e2
script compilation.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6566620c5d
chain events.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
2b05bd0581
chain locator.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e0373dbf65
lint.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
8541843e14
script.fromString.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9fe97dc855
script: fromOptions.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3a652727c9
script refactor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3fb5a36f8d
optimize memblock parsing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f1bbd7736a
refactor miner.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
46d7fba13a
fix peer.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
616d9bd7f3
script refactor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f5ea3b1870
always duplicate objects.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
27b88ddba9
do not cache redeem script.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3e0830fe8e
do not cache input/output type.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
59cd4a29fe
refactor mtx.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
8069360c7b
refactor mtx.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
91de71851d
laid back options parsing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5e103f0706
txdb coin cache.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6612b7ced3
remove mutable arg from inputs/outputs.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0a3e61b3e6
add raw methods to address object.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a09bd94052
use native assign if available.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
bd56b46806
handle notfound errors at a lower level.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c6af30e69d
cleanup ldb.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
cfdbe2e970
keyring json.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
59cdc96c9f
add a read lock for walletdb.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e3f023142f
wallet events.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1a32e66468
fix open and close for all async objects.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d346b36754
refactor pool and peer.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b4bbba1ad9
refactor orphan pruning.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c580557993
more chain refactoring.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1f3d2f4b96
micro optimize.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b3dd3bfacb
rename checkDeployments.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c1a46eedee
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c8dc5901ec
state.hasMTP.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4b7d4a3c8d
chain deployment state.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
eb4f16f2b7
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e364e2b619
refactor sighash.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c7b9091da0
drop unoptimized sighashing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0a9ce90b84
tx parsing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3e13badc7a
do not use object literals in hd.js.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
667fa4b796
bip39 again.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
91fd1dc60d
bip39.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3a7fc3a679
block.addtx.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
755d0a2c64
address work.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
203294029c
rename protocol.network.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
38a92ebecf
more address parsing.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
718ae3c1aa
more address stuff.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5c5ff9e265
rename some versionbits stuff.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
74e67c8a65
laid back parsing for address parser.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f2edf8f4b0
bip39 work.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
7821d65db4
network object.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4a8ef06154
chainentry.fromBlock.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1aa70f8ff0
chainentry refactor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
634290687b
minor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b6ce94cec3
optimize sighashing. default values for every constructor.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
05b83fe1c8
script fromJSON. mempool test.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
402b47a940
address consistency.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d11f4deef1
add id to keyring.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
64ae8c7767
more wallet address mapping.
2016-07-15 18:20:55 -07:00
Christopher Jeffrey
adb7b28795
bip151: fix encack.
2016-06-27 07:13:38 -07:00
Christopher Jeffrey
b74bda623f
lint.
2016-06-27 07:10:26 -07:00
Christopher Jeffrey
90769d7e1a
more mapping.
2016-06-27 06:14:54 -07:00
Christopher Jeffrey
ae7bbeb065
wallet work.
2016-06-27 03:07:43 -07:00
Christopher Jeffrey
b8997c9212
fix aes tests.
2016-06-27 02:23:06 -07:00
Christopher Jeffrey
70b83f22fa
bip151 & bip152: preliminary implementations.
2016-06-27 02:16:01 -07:00
Christopher Jeffrey
5973cad305
minor. ecdh.
2016-06-27 01:06:58 -07:00
Christopher Jeffrey
78d32ce3a2
block refactor.
2016-06-26 23:12:33 -07:00
Christopher Jeffrey
a95ab18379
scanning.
2016-06-26 16:32:36 -07:00
Christopher Jeffrey
5095f78dbf
wallet map.
2016-06-26 03:58:09 -07:00
Christopher Jeffrey
86027e9668
wallet: unlock key last.
2016-06-25 13:24:30 -07:00
Christopher Jeffrey
882b18e188
keypair refactor.
2016-06-25 05:07:09 -07:00
Christopher Jeffrey
9b81126ea4
hd refactor.
2016-06-25 03:40:54 -07:00
Christopher Jeffrey
a1943bcb5e
docs.
2016-06-25 02:53:47 -07:00
Christopher Jeffrey
f784c25d01
make encryption async.
2016-06-25 01:10:10 -07:00
Christopher Jeffrey
4c9dca65bd
more wallet work.
2016-06-24 16:59:38 -07:00
Christopher Jeffrey
f1376e5a99
wallet refactor.
2016-06-24 16:42:26 -07:00
Christopher Jeffrey
2a18a76973
fix coins parsing. address type.
2016-06-24 12:54:49 -07:00
Christopher Jeffrey
5cce4539d1
bip114: mast.
2016-06-24 10:23:36 -07:00
Christopher Jeffrey
a70482c0c5
drop changeIndex from tx.
2016-06-23 12:19:25 -07:00
Christopher Jeffrey
d7db03daa3
fix wallet hashes. do not request mempool on main.
2016-06-23 12:06:54 -07:00
Christopher Jeffrey
48855ae56f
fix tests. non-rolling bloom filter for txdb.
2016-06-22 17:51:49 -07:00
Christopher Jeffrey
aec1ebbdd3
fix notfound bug. ensure fast properties for network object.
2016-06-22 16:45:36 -07:00
Christopher Jeffrey
5773d5b445
add packet objects.
2016-06-22 15:12:49 -07:00
Christopher Jeffrey
09e5d93a15
bst: batch op.
2016-06-22 04:35:56 -07:00
Christopher Jeffrey
135fca806c
bst refactor. comments.
2016-06-22 04:32:23 -07:00
Christopher Jeffrey
4d823742c3
improve getutxos.
2016-06-22 03:34:53 -07:00
Christopher Jeffrey
167e187fe0
fix framer bug. witness format.
2016-06-22 03:28:00 -07:00
Christopher Jeffrey
4b1915ca49
funding error.
2016-06-21 16:54:49 -07:00
Christopher Jeffrey
c03f704018
fix http api.
2016-06-21 14:39:56 -07:00
Christopher Jeffrey
61782a70ba
fix input and output json.
2016-06-21 14:17:28 -07:00
Christopher Jeffrey
a8cf57ab7d
minor.
2016-06-21 13:59:05 -07:00
Christopher Jeffrey
bb63c5d164
use estimateFee for createTX.
2016-06-20 17:42:26 -07:00
Christopher Jeffrey
8b262a7ff9
tests. asserts. subtractFee.
2016-06-20 16:56:23 -07:00
Christopher Jeffrey
8a16cefe30
framer.
2016-06-20 04:01:30 -07:00
Christopher Jeffrey
ea512ab9aa
do not and locktimes.
2016-06-20 03:21:53 -07:00
Christopher Jeffrey
8f3f174b25
script parsing.
2016-06-20 03:16:50 -07:00
Christopher Jeffrey
5e330c513e
dust threshold. misc.
2016-06-20 03:16:23 -07:00
Christopher Jeffrey
cc22e97dae
comments. asserts. refactor.
2016-06-20 01:56:47 -07:00
Christopher Jeffrey
b473c0a31f
coin json
2016-06-18 22:32:35 -07:00
Christopher Jeffrey
3a99b23cb3
hd refactor.
2016-06-18 22:10:07 -07:00
Christopher Jeffrey
a1e31f02ae
refactor address.
2016-06-18 21:59:00 -07:00
Christopher Jeffrey
7422b46e75
refactor.
2016-06-18 20:59:34 -07:00
Christopher Jeffrey
3fd3d9bcff
prevout.isNull().
2016-06-18 18:22:26 -07:00
Christopher Jeffrey
821f1175cc
minor.
2016-06-18 17:42:49 -07:00
Christopher Jeffrey
75aad4e771
chachapoly refactor.
2016-06-18 17:42:35 -07:00
Christopher Jeffrey
c02b93adae
lint.
2016-06-17 21:23:05 -07:00
Christopher Jeffrey
da3ce0b4a7
filterload.
2016-06-17 20:41:45 -07:00
Christopher Jeffrey
48b3b0b506
misc.
2016-06-17 20:10:35 -07:00
Christopher Jeffrey
d5529996ef
tests.
2016-06-17 17:54:23 -07:00
Christopher Jeffrey
c3774261b4
minor optimizations.
2016-06-17 16:25:27 -07:00
Christopher Jeffrey
7862418ccc
program. addresses.
2016-06-17 06:34:48 -07:00
Christopher Jeffrey
32e26446b1
sighashing.
2016-06-17 04:30:33 -07:00
Christopher Jeffrey
54d3b350e9
rename. fix testing functions.
2016-06-17 04:10:32 -07:00
Christopher Jeffrey
2d70636fb0
micro optimize.
2016-06-17 03:47:54 -07:00
Christopher Jeffrey
799c40136a
refactor.
2016-06-17 03:41:15 -07:00
Christopher Jeffrey
6216bcbd97
witsize. json.
2016-06-17 03:31:01 -07:00
Christopher Jeffrey
4b5697a615
more serialization work.
2016-06-17 02:26:48 -07:00
Christopher Jeffrey
16404a03ba
serialization... again.
2016-06-17 01:34:59 -07:00
Christopher Jeffrey
f494762a67
api: create address.
2016-06-16 15:37:22 -07:00
Christopher Jeffrey
edbd42b2c2
api fixes.
2016-06-16 15:26:32 -07:00
Christopher Jeffrey
1283e8bd2a
estimator serialization.
2016-06-16 03:41:31 -07:00
Christopher Jeffrey
79bc477476
more refactoring.
2016-06-16 02:51:50 -07:00
Christopher Jeffrey
8cfa46f943
minor.
2016-06-16 02:38:27 -07:00
Christopher Jeffrey
5008a5880c
more refactoring.
2016-06-16 02:27:35 -07:00
Christopher Jeffrey
36fc40ee7c
branch state.
2016-06-16 02:25:42 -07:00
Christopher Jeffrey
51f3d7120b
disabled ops.
2016-06-16 02:23:36 -07:00
Christopher Jeffrey
fca282acdb
script.fromString.
2016-06-16 02:16:29 -07:00
Christopher Jeffrey
9965f258e8
script fixes.
2016-06-16 01:13:06 -07:00
Christopher Jeffrey
b74b6e8b83
handle remove for block better.
2016-06-16 00:18:36 -07:00
Christopher Jeffrey
9d771fe0b6
fix leech peers.
2016-06-15 20:33:17 -07:00
Christopher Jeffrey
d38de71468
logs.
2016-06-15 20:08:44 -07:00
Christopher Jeffrey
6a4fce383e
floor rates and priority.
2016-06-15 18:03:42 -07:00
Christopher Jeffrey
aba92e4a7f
mempool. static int.
2016-06-15 17:50:49 -07:00
Christopher Jeffrey
7e2185dfd6
serialize mempool entries properly.
2016-06-15 17:44:07 -07:00
Christopher Jeffrey
6303530c4f
fees. mempool. createTX.
2016-06-15 17:04:04 -07:00
Christopher Jeffrey
7383971a75
signing checks.
2016-06-15 14:42:27 -07:00
Christopher Jeffrey
ac8a09a55c
allow sloppy scripts.
2016-06-14 19:32:01 -07:00
Christopher Jeffrey
f1e1873514
fix getCoinbaseHeight.
2016-06-14 19:06:17 -07:00
Christopher Jeffrey
3a18052f87
script work.
2016-06-14 18:13:51 -07:00
Christopher Jeffrey
27b18c0fd2
work. mutable scripts.
2016-06-14 16:26:26 -07:00
Christopher Jeffrey
5ae6a4e02c
always compile scripts.
2016-06-13 22:54:57 -07:00
Christopher Jeffrey
3f62a8ae42
scripting system.
2016-06-13 21:25:42 -07:00
Christopher Jeffrey
b088d3fb44
mempool.
2016-06-13 08:29:03 -07:00
Christopher Jeffrey
fc6feb2125
comment.
2016-06-13 08:04:26 -07:00
Christopher Jeffrey
0080c3e519
handle arguments better.
2016-06-13 03:17:28 -07:00
Christopher Jeffrey
87ce4e5583
remove delete calls.
2016-06-13 02:43:19 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode.
2016-06-13 01:06:01 -07:00
Christopher Jeffrey
ce9fe104b3
add connect timeout.
2016-06-13 00:04:34 -07:00
Christopher Jeffrey
e8ee4d3c18
minor.
2016-06-12 23:53:36 -07:00
Christopher Jeffrey
b301fe5def
refactor.
2016-06-12 23:50:18 -07:00
Christopher Jeffrey
e51464f29b
refactor tx.verify.
2016-06-12 23:16:00 -07:00
Christopher Jeffrey
af8e3945b7
refactor.
2016-06-12 22:41:55 -07:00
Christopher Jeffrey
ebe3b3ed54
minor.
2016-06-12 22:34:58 -07:00
Christopher Jeffrey
896f1f989c
clean up script.js.
2016-06-12 14:27:29 -07:00
Christopher Jeffrey
dd57bba151
typos.
2016-06-12 14:14:21 -07:00
Christopher Jeffrey
c056b0d8ab
refactor.
2016-06-12 13:48:02 -07:00
Christopher Jeffrey
2549ffc4a8
fix horrible typo.
2016-06-12 13:17:05 -07:00
Christopher Jeffrey
07261da2e2
refactor.
2016-06-12 12:46:50 -07:00
Christopher Jeffrey
7e5b6a2ff7
minor optimization.
2016-06-12 12:09:23 -07:00
Christopher Jeffrey
408102949c
getHash enc.
2016-06-12 12:01:06 -07:00
Christopher Jeffrey
46fbaf9514
optimize keys.
2016-06-12 11:32:21 -07:00
Christopher Jeffrey
6053497c0c
fix mempool.
2016-06-12 10:26:18 -07:00
Christopher Jeffrey
becbba4aba
lint. optimize.
2016-06-12 10:17:29 -07:00
Christopher Jeffrey
e8130bd04c
refactor.
2016-06-12 10:07:00 -07:00
Christopher Jeffrey
f95f3e929b
optimize more.
2016-06-12 10:01:19 -07:00
Christopher Jeffrey
3e7f1cea42
refactor.
2016-06-12 09:51:34 -07:00
Christopher Jeffrey
9d19388162
minor perf.
2016-06-12 09:36:43 -07:00
Christopher Jeffrey
1e962a5594
optimize.
2016-06-12 09:30:06 -07:00
Christopher Jeffrey
6081998516
Revert "store undo coins in coinviews."
...
This reverts commit f2465c2caf .
2016-06-12 09:11:43 -07:00
Christopher Jeffrey
f2465c2caf
store undo coins in coinviews.
2016-06-12 09:11:40 -07:00
Christopher Jeffrey
247067291c
fixes.
2016-06-12 09:11:25 -07:00
Christopher Jeffrey
68d8a6f2d3
binary keys work.
2016-06-12 08:07:21 -07:00
Christopher Jeffrey
fd7a42a240
binary keys.
2016-06-12 08:07:21 -07:00
Christopher Jeffrey
0abf791bb7
deferred.
2016-06-12 08:07:21 -07:00
Christopher Jeffrey
95b62b4b65
deferred coin.
2016-06-12 08:07:21 -07:00
Christopher Jeffrey
e9c0dc7037
simple coin views.
2016-06-12 08:07:21 -07:00
Christopher Jeffrey
774fc92f99
minor.
2016-06-12 08:07:11 -07:00
Christopher Jeffrey
25db4cfe45
minor.
2016-06-12 08:06:15 -07:00
Christopher Jeffrey
18ff108a77
mempool address methods.
2016-06-12 07:48:08 -07:00
Christopher Jeffrey
f313b43414
alert handling.
2016-06-12 02:25:58 -07:00
Christopher Jeffrey
08f5865e78
set misbehavior for inv and headers.
2016-06-12 01:50:24 -07:00
Christopher Jeffrey
9ccac80ad6
ec: refactor.
2016-06-12 00:41:56 -07:00
Christopher Jeffrey
8471ce165d
filter header sending.
2016-06-11 23:23:53 -07:00
Christopher Jeffrey
84a04b33e5
fees refactor.
2016-06-11 23:20:57 -07:00
Christopher Jeffrey
927fb9c555
refactor block sync. fix fees.
2016-06-11 23:06:37 -07:00
Christopher Jeffrey
59f06bb06c
start estimating fees.
2016-06-11 15:45:26 -07:00
Christopher Jeffrey
84c1ec45c9
whitespace
2016-06-10 23:48:11 -07:00
Christopher Jeffrey
d4571b56bd
reenable hash limit.
2016-06-10 19:06:14 -07:00
Christopher Jeffrey
f120d4d68a
check for negatives and zero in testTarget.
2016-06-10 18:26:18 -07:00
Christopher Jeffrey
aa355feb25
pool fix.
2016-06-10 16:59:47 -07:00
Christopher Jeffrey
68159daf46
add fee estimator.
2016-06-09 17:10:49 -07:00
Christopher Jeffrey
e12a8bb21c
lint.
2016-06-09 16:26:18 -07:00
Christopher Jeffrey
ca3dade3b1
update links.
2016-06-09 16:19:14 -07:00
Christopher Jeffrey
c84175dee1
refactor aes.
2016-06-09 16:16:49 -07:00
Christopher Jeffrey
610ecde401
mempool: tx deps.
2016-06-09 05:43:23 -07:00
Christopher Jeffrey
9ff5ee82e7
consensus change for segwit.
...
See https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-June/012747.html
2016-06-09 03:21:31 -07:00
Christopher Jeffrey
1984bc178c
bip151: add chacha20 and poly1305.
2016-06-09 02:18:37 -07:00
Christopher Jeffrey
2cbe8ff411
coins and input.
2016-06-08 16:02:44 -07:00
Christopher Jeffrey
4cd018c31a
fix sync.
2016-06-08 16:02:39 -07:00
Christopher Jeffrey
3289a9388d
minor.
2016-06-08 13:31:15 -07:00
Christopher Jeffrey
4b1f2e1db0
siphash: minor.
2016-06-08 13:20:23 -07:00
Christopher Jeffrey
ab94bf07b3
pool: minor.
2016-06-08 12:21:31 -07:00
Christopher Jeffrey
7791f7b21d
refactor pool.
2016-06-08 03:41:15 -07:00
Christopher Jeffrey
287d718d51
comment.
2016-06-07 18:04:11 -07:00
Christopher Jeffrey
a5fc00d4a6
add siphash.
2016-06-07 17:57:09 -07:00
Christopher Jeffrey
5357fd8567
rename compactblock to avoid confusion.
2016-06-07 11:32:52 -07:00
Christopher Jeffrey
f2bc10726b
relay alerts.
2016-06-07 10:33:07 -07:00
Christopher Jeffrey
fd01c23f4c
move setimmediate.
2016-06-06 23:16:27 -07:00
Christopher Jeffrey
4f98ccfbfb
prune keys.
2016-06-06 23:16:00 -07:00
Christopher Jeffrey
ea4e4b888d
fix state cache optimization.
2016-06-06 16:56:28 -07:00
Christopher Jeffrey
f59ecaeb7f
browser index.html.
2016-06-06 14:06:18 -07:00
Christopher Jeffrey
6ac90a929e
consistency.
2016-06-06 03:32:39 -07:00
Christopher Jeffrey
6a4beafa87
asyncify calls.
2016-06-05 17:48:39 -07:00
Christopher Jeffrey
d1695bf014
options.
2016-06-05 17:31:07 -07:00
Christopher Jeffrey
f71aa44acc
spruce things up for the browser.
2016-06-05 08:20:27 -07:00
Christopher Jeffrey
10efd549ce
consistency.
2016-06-04 19:37:15 -07:00
Christopher Jeffrey
af33e61031
txdb: fix double-spend handling.
2016-06-04 19:34:37 -07:00
Christopher Jeffrey
a6ca11611f
we now support all services.
2016-06-04 09:51:34 -07:00
Christopher Jeffrey
055e5665e3
minor fixes.
2016-06-03 15:22:28 -07:00
Christopher Jeffrey
a5945c1d98
lint.
2016-06-03 12:18:03 -07:00
Christopher Jeffrey
bbec33591d
comments.
2016-06-03 12:15:17 -07:00
Christopher Jeffrey
496b922f18
fix findLocator.
2016-06-03 12:02:07 -07:00
Christopher Jeffrey
c3822dbf70
improve mm3 perf slightly.
2016-06-03 11:29:11 -07:00
Christopher Jeffrey
819795b1ae
chainentry json.
2016-06-02 18:52:23 -07:00
Christopher Jeffrey
33f7b38433
minor improvements.
2016-06-02 17:28:42 -07:00
Christopher Jeffrey
2037060c35
reset chain after spv preload.
2016-06-02 16:45:05 -07:00
Christopher Jeffrey
648e46a252
remove old spv code.
2016-06-02 16:30:33 -07:00
Christopher Jeffrey
47f75c9957
add all addresses to bloom filter.
2016-06-02 16:26:25 -07:00
Christopher Jeffrey
6176b0d228
more pool and spv stuff.
2016-06-02 16:14:04 -07:00
Christopher Jeffrey
6872a18538
optimize target checking.
2016-06-02 14:47:24 -07:00
Christopher Jeffrey
283bf3e561
fix spv. clean up pool.
2016-06-02 12:39:46 -07:00
Christopher Jeffrey
e330317b5c
more http api.
2016-06-02 11:53:55 -07:00
Christopher Jeffrey
dd9fb535fa
fill coins before signing.
2016-06-02 11:38:29 -07:00
Christopher Jeffrey
29d79e57ad
sign created tx.
2016-06-02 11:28:52 -07:00
Christopher Jeffrey
1839bb5725
fix reorganize.
2016-06-02 08:37:45 -07:00
Christopher Jeffrey
5b1ce02324
events. http wallet.
2016-06-02 07:19:30 -07:00
Christopher Jeffrey
2f492dfc89
http wallet.
2016-06-02 05:25:14 -07:00
Christopher Jeffrey
aa163bce33
more refactoring.
2016-06-02 03:47:30 -07:00
Christopher Jeffrey
cde8fdafa6
refactor wallet and walletdb.
2016-06-02 03:34:13 -07:00
Christopher Jeffrey
ac21ebd151
socket.io fixes.
2016-06-02 02:46:39 -07:00
Christopher Jeffrey
a1cabfb8bd
miner. improve workers.
2016-06-02 01:47:11 -07:00
Christopher Jeffrey
71934a22f1
more accurate ComputeBlockVersion.
2016-06-01 23:34:42 -07:00
Christopher Jeffrey
a09c7365aa
fix commit hash caching. fix miner race conditon.
2016-06-01 23:21:55 -07:00
Christopher Jeffrey
b0c36d51dc
lint.
2016-06-01 22:45:40 -07:00
Christopher Jeffrey
712d7801b3
add scrypt to workers.
2016-06-01 22:28:28 -07:00
Christopher Jeffrey
1cc6727de5
fix removeKey.
2016-06-01 22:22:12 -07:00
Christopher Jeffrey
55369ca463
add async scrypt.
2016-06-01 21:20:12 -07:00
Christopher Jeffrey
084568617b
wallet and test refactor.
2016-06-01 17:55:40 -07:00
Christopher Jeffrey
64af74fe4a
master key. use locks to avoid race conditions in wallet.
2016-06-01 14:59:23 -07:00
Christopher Jeffrey
c3ba9808b1
refactor account.
2016-06-01 10:44:22 -07:00
Christopher Jeffrey
4bdaf0ec74
minor.
2016-05-31 23:20:14 -07:00
Christopher Jeffrey
6d7602ddfa
optimize scrypt more.
2016-05-31 22:58:32 -07:00
Christopher Jeffrey
3a2d800ec1
faster scrypt.
2016-05-31 22:52:12 -07:00
Christopher Jeffrey
0c4df11cb6
consistency. chain test.
2016-05-31 22:17:36 -07:00
Christopher Jeffrey
293f9c5dc5
fix potential dos vectors. tests.
2016-05-31 22:10:06 -07:00
Christopher Jeffrey
e08b4cf563
balance. walletdb.
2016-05-31 18:25:39 -07:00
Christopher Jeffrey
5b3cc7c0d3
misc. error handling.
2016-05-31 15:39:30 -07:00
Christopher Jeffrey
f4b0d029df
docs.
2016-05-31 13:30:44 -07:00
Christopher Jeffrey
a567a61b41
rename.
2016-05-31 06:47:48 -07:00
Christopher Jeffrey
d4b840065f
return error on bad passphrase.
2016-05-31 06:47:05 -07:00
Christopher Jeffrey
59755841f9
improve path getting.
2016-05-31 06:45:32 -07:00
Christopher Jeffrey
2e5df5514a
change passphrase.
2016-05-31 06:42:12 -07:00
Christopher Jeffrey
4058bba907
coin filling.
2016-05-31 06:10:42 -07:00
Christopher Jeffrey
512f3de412
scanning. local. etc.
2016-05-31 05:59:19 -07:00
Christopher Jeffrey
b16a8ed1c4
lint.
2016-05-31 04:43:44 -07:00
Christopher Jeffrey
60d33ce9db
txdb and walletdb work. scanning.
2016-05-31 04:37:46 -07:00
Christopher Jeffrey
74f5a8916f
more wallet work.
2016-05-31 03:01:56 -07:00
Christopher Jeffrey
976fd46da5
accounts.
2016-05-31 00:46:01 -07:00
Christopher Jeffrey
79d2471a33
mapping.
2016-05-30 19:09:05 -07:00
Christopher Jeffrey
cbd7f06aba
stop using paths.
2016-05-29 12:12:22 -07:00
Christopher Jeffrey
390af13b14
wallets, now with reference counting.
2016-05-29 07:00:36 -07:00
Christopher Jeffrey
ab9301ce7e
serialization. refactor.
2016-05-29 03:04:28 -07:00
Christopher Jeffrey
663e62639d
ser
2016-05-28 21:31:47 -07:00
Christopher Jeffrey
1002c222a6
refactor.
2016-05-28 12:02:39 -07:00
Christopher Jeffrey
14088e5b0c
async wallet cwallet.
2016-05-28 08:33:53 -07:00
Christopher Jeffrey
420d72d647
async wallet.
2016-05-28 05:48:50 -07:00
Christopher Jeffrey
7bb67aa449
more wallet work.
2016-05-27 16:20:11 -07:00
Christopher Jeffrey
3480b8c679
more wallet work.
2016-05-27 14:26:40 -07:00
Christopher Jeffrey
9c747cde42
drop provider from wallet.
2016-05-27 05:04:00 -07:00
Christopher Jeffrey
b7bc1cfe77
more socket.io things.
2016-05-27 01:07:43 -07:00
Christopher Jeffrey
0e31719d13
Revert "simple coin views."
...
This reverts commit 5074e3100d .
2016-05-27 00:27:09 -07:00
Christopher Jeffrey
5074e3100d
simple coin views.
2016-05-26 23:47:54 -07:00
Christopher Jeffrey
2884a794c3
coins
2016-05-26 23:47:41 -07:00
Christopher Jeffrey
d89b545604
fix misbehaving check.
2016-05-26 17:36:24 -07:00
Christopher Jeffrey
e59cf312c6
prefix. profiler.
2016-05-26 17:10:21 -07:00
Christopher Jeffrey
2612d2cc5c
fill block coins.
2016-05-26 15:05:25 -07:00
Christopher Jeffrey
1ef834ca3e
fixes for perf.
2016-05-26 04:40:52 -07:00
Christopher Jeffrey
e2817436de
improve address management.
2016-05-25 17:38:42 -07:00
Christopher Jeffrey
5ae0c441c1
move ip utils.
2016-05-25 14:39:54 -07:00
Christopher Jeffrey
e59feaf695
minor.
2016-05-25 14:20:07 -07:00
Christopher Jeffrey
284bba746a
use node-ip.
2016-05-25 13:23:27 -07:00
Christopher Jeffrey
6ab0b2636c
fix remoteAddress == undefined problem.
2016-05-25 11:46:39 -07:00
Christopher Jeffrey
4aca23e7e8
minor.
2016-05-25 05:16:25 -07:00
Christopher Jeffrey
f065179d69
fix banning in certain cases.
2016-05-25 03:15:00 -07:00
Christopher Jeffrey
77d7916f1e
support hybrid keys. see indutny/elliptic#91 .
2016-05-25 02:48:41 -07:00
Christopher Jeffrey
2738a4ed5d
merkle refactor. misc.
2016-05-25 02:01:16 -07:00
Christopher Jeffrey
afeb1d1d34
lint.
2016-05-25 01:39:08 -07:00
Christopher Jeffrey
dccfc91974
block tests.
2016-05-24 23:48:52 -07:00
Christopher Jeffrey
1de2df0c3a
ignore misbehaving leeches.
2016-05-24 16:24:03 -07:00
Christopher Jeffrey
c5fc69ee93
handle mempool.
2016-05-24 11:43:14 -07:00
Christopher Jeffrey
ee09a6d2d0
typo.
2016-05-24 11:41:21 -07:00
Christopher Jeffrey
7756fc2c73
ensure packets are served in order.
2016-05-24 11:39:48 -07:00
Christopher Jeffrey
e2626c32f0
mkdirp.
2016-05-24 01:18:56 -07:00
Christopher Jeffrey
da701cbef4
refactor merkleblock.
2016-05-24 00:56:31 -07:00
Christopher Jeffrey
9afb141dce
minor.
2016-05-23 22:18:26 -07:00
Christopher Jeffrey
1011d1f824
directory structure.
2016-05-23 20:30:09 -07:00
Christopher Jeffrey
1c2e1b8000
minor.
2016-05-23 19:55:53 -07:00
Christopher Jeffrey
9c89630490
block tests. fix spv and bloom filters.
2016-05-23 19:38:06 -07:00
Christopher Jeffrey
499d0c6a7e
minor.
2016-05-23 06:01:52 -07:00
Christopher Jeffrey
e8cf4ea8be
ip and version.
2016-05-23 05:33:27 -07:00
Christopher Jeffrey
ae41e11ff3
do not ignore old orphans.
2016-05-23 03:54:15 -07:00
Christopher Jeffrey
e968e1701e
stop requesting every tx in existence.
2016-05-23 03:51:35 -07:00
Christopher Jeffrey
65278a3296
separate debug files.
2016-05-23 03:33:36 -07:00
Christopher Jeffrey
77e28d28f4
minor.
2016-05-23 03:28:16 -07:00
Christopher Jeffrey
7cf1f8802f
add orphan events to mempool.
2016-05-23 03:24:25 -07:00
Christopher Jeffrey
ed08f36e07
fix block sync. improve announce vs. sendInv.
2016-05-23 03:11:31 -07:00
Christopher Jeffrey
cd4f6a71ae
ec.rand, again.
2016-05-23 02:23:34 -07:00
Christopher Jeffrey
62f5d6f803
fix ec.rand().
2016-05-23 02:21:31 -07:00
Christopher Jeffrey
8cf9b8c480
less special treatment for loader peer.
2016-05-23 02:04:27 -07:00
Christopher Jeffrey
2b2a747eab
network for miner blocks.
2016-05-23 01:31:24 -07:00
Christopher Jeffrey
3f4e0f5040
refactor miner.
2016-05-23 01:04:55 -07:00
Christopher Jeffrey
8c8b62a57f
headers sync.
2016-05-23 00:49:52 -07:00
Christopher Jeffrey
373e474f59
remove service properties.
2016-05-22 23:49:34 -07:00
Christopher Jeffrey
013b59a9cc
fix typos.
2016-05-22 23:16:08 -07:00
Christopher Jeffrey
d85956b63f
parallelize mining. listen for worker pipe errors.
2016-05-22 21:21:18 -07:00
Christopher Jeffrey
53dbac9c87
more relay fixes.
2016-05-22 19:14:20 -07:00
Christopher Jeffrey
e8f5be9830
workers. fix inv relaying.
2016-05-22 18:13:54 -07:00
Christopher Jeffrey
c71e7646d3
fix readvarint2. fix memUsage.
2016-05-22 17:57:06 -07:00
Christopher Jeffrey
26d3003a9d
parse errors.
2016-05-22 16:45:38 -07:00
Christopher Jeffrey
d605af7ed8
fix race condition.
2016-05-22 07:23:37 -07:00
Christopher Jeffrey
92e8a9c4bc
new varint2.
2016-05-22 06:54:36 -07:00
Christopher Jeffrey
5537eb1995
optimize parsing and serialization. strict parsing.
2016-05-22 06:31:35 -07:00
Christopher Jeffrey
5fb8727a80
fix lowlevelup and walletdb.
2016-05-21 23:01:53 -07:00
Christopher Jeffrey
cf041e1fad
Revert "hash bloom"
...
This reverts commit f7dd8a6e8a .
2016-05-21 17:38:06 -07:00
Christopher Jeffrey
2c809e28fd
segwit activation for testnet. work around leveldown bug.
2016-05-21 16:41:30 -07:00
Christopher Jeffrey
f7dd8a6e8a
hash bloom
2016-05-21 16:37:48 -07:00
Christopher Jeffrey
c398564036
refactor peer and pool.
2016-05-21 09:51:33 -07:00
Christopher Jeffrey
3e2f43e178
use bloom filter for addresses in wallet db.
2016-05-20 17:12:00 -07:00
Christopher Jeffrey
292e077550
optimization for rolling filter.
2016-05-20 16:42:34 -07:00
Christopher Jeffrey
14b2b528f3
switch back to rolling filters.
2016-05-20 16:11:17 -07:00
Christopher Jeffrey
d8800632ea
optimize new generations with rolling filter.
2016-05-20 16:05:03 -07:00
Christopher Jeffrey
381c1ca1f1
rolling bloom filter.
2016-05-20 14:40:36 -07:00
Christopher Jeffrey
8e5cdbdfcd
add rejects filter.
2016-05-20 07:09:24 -07:00
Christopher Jeffrey
d9d18f2be7
use bloom filters to avoid double sending to peers.
2016-05-20 06:11:28 -07:00
Christopher Jeffrey
d4f03f982e
fix issue with mutable scripts.
2016-05-20 04:53:15 -07:00
Christopher Jeffrey
f013ddb353
improve fee calculation. tests.
2016-05-20 04:17:05 -07:00
Christopher Jeffrey
72e5d5fbc7
better orphan handling.
2016-05-20 04:16:15 -07:00
Christopher Jeffrey
e97f1d0477
better ping system.
2016-05-19 22:34:27 -07:00
Christopher Jeffrey
bd3d17ef53
refactor.
2016-05-19 21:35:02 -07:00
Christopher Jeffrey
b4bfe53bfe
refactor utils.
2016-05-19 21:31:39 -07:00
Christopher Jeffrey
39a8ecc398
remove asserts.
2016-05-19 21:11:02 -07:00
Christopher Jeffrey
cd94217abd
pool: minor.
2016-05-19 21:09:11 -07:00
Christopher Jeffrey
712a445b99
utils and createServer callback.
2016-05-19 21:05:26 -07:00
Christopher Jeffrey
435f631f05
stop using hostname getter.
2016-05-19 20:34:34 -07:00
Christopher Jeffrey
29cac3515a
refactor binary search.
2016-05-19 19:37:11 -07:00
Christopher Jeffrey
a94a2a101d
fix big endian 64 bit ints.
2016-05-19 19:32:08 -07:00
Christopher Jeffrey
29c5203090
docs.
2016-05-19 18:43:31 -07:00
Christopher Jeffrey
8d5d6dbd88
update docs pertaining to address maps.
2016-05-19 18:27:27 -07:00
Christopher Jeffrey
1bc60a3e0e
docs
2016-05-19 18:20:30 -07:00
Christopher Jeffrey
e65da93ce1
more refactoring.
2016-05-19 18:07:37 -07:00
Christopher Jeffrey
9966718e9c
refactor loadrequest.
2016-05-19 16:53:17 -07:00
Christopher Jeffrey
64830059d7
rename utils.slice.
2016-05-19 16:47:41 -07:00
Christopher Jeffrey
5d1c39bf41
remove debug code.
2016-05-19 16:30:46 -07:00
Christopher Jeffrey
3be5655539
get bcoin working on windows.
2016-05-19 16:09:21 -07:00
Christopher Jeffrey
cef88c6e4e
more pool work.
2016-05-19 16:08:56 -07:00
Christopher Jeffrey
65125f7b4f
minor.
2016-05-19 12:04:11 -07:00
Christopher Jeffrey
ed1a8ef718
pool.listen.
2016-05-19 11:56:11 -07:00
Christopher Jeffrey
b83a4a6a2c
fix parseHost.
2016-05-19 01:39:28 -07:00
Christopher Jeffrey
3979e57acc
fix options for http.
2016-05-19 01:33:32 -07:00
Christopher Jeffrey
3e2d4aa717
remove old getSeed code.
2016-05-19 00:44:06 -07:00
Christopher Jeffrey
ae230cf294
refactor tx.
2016-05-19 00:17:01 -07:00
Christopher Jeffrey
f714bbf2c0
minor. remove sendBlock/sendTX.
2016-05-18 23:58:12 -07:00
Christopher Jeffrey
5f6aa10cbc
refactor aes.
2016-05-18 22:15:00 -07:00
Christopher Jeffrey
dd8c92d5fd
handle errors better in parser.
2016-05-18 18:56:35 -07:00
Christopher Jeffrey
17d9db5926
remove asserts.
2016-05-18 18:49:31 -07:00
Christopher Jeffrey
3c4d4c2724
remove old pool methods. readme.
2016-05-18 18:33:11 -07:00
Christopher Jeffrey
3154a1c914
add feefilter packet. misc.
2016-05-18 17:58:29 -07:00
Christopher Jeffrey
07517ecd04
rewrite broadcast system.
2016-05-18 15:01:19 -07:00
Christopher Jeffrey
ee3d3eaea1
drop utils.read/write.
2016-05-18 08:52:08 -07:00
Christopher Jeffrey
b9c7afa0ea
coin.fromTX.
2016-05-18 05:12:28 -07:00
Christopher Jeffrey
c6e36353fa
block.addTX.
2016-05-18 05:02:03 -07:00
Christopher Jeffrey
070af4643f
remove old mutable check from block.getSizes.
2016-05-18 04:42:38 -07:00
Christopher Jeffrey
b04d4e3be1
render block when getting size (optimization).
2016-05-18 04:32:20 -07:00
Christopher Jeffrey
6005f0f750
whole bunch of refactoring.
2016-05-18 04:23:05 -07:00
Christopher Jeffrey
a2ddb960f5
drop script.fromSymbolic.
2016-05-18 02:09:55 -07:00
Christopher Jeffrey
370b5aeb24
hd.
2016-05-17 15:25:39 -07:00
Christopher Jeffrey
559cb62889
varint. misc.
2016-05-17 15:17:39 -07:00
Christopher Jeffrey
ec21986062
optimize getProof. misc.
2016-05-17 14:50:09 -07:00
Christopher Jeffrey
a6727fd84e
add scrypt if we want to support bip38.
2016-05-16 21:31:29 -07:00
Christopher Jeffrey
6afee3cccb
speed up mempoolentry.toRaw.
2016-05-16 18:49:23 -07:00
Christopher Jeffrey
43f0ee2207
minor.
2016-05-16 18:39:57 -07:00
Christopher Jeffrey
eab9834103
utils.ip2array
2016-05-16 18:37:14 -07:00
Christopher Jeffrey
599bbffe1e
optimize getBalance.
2016-05-16 17:56:35 -07:00
Christopher Jeffrey
66569df692
fix writer.fill.
2016-05-16 17:32:15 -07:00
Christopher Jeffrey
92c5dd0832
Revert "refactor."
...
This reverts commit f0cc2f8c6c .
2016-05-16 17:14:12 -07:00
Christopher Jeffrey
e354dea283
varint assert.
2016-05-16 17:05:55 -07:00
Christopher Jeffrey
f0cc2f8c6c
refactor.
2016-05-16 16:02:28 -07:00
Christopher Jeffrey
3bb03c63fa
move sizePush.
2016-05-16 15:58:07 -07:00
Christopher Jeffrey
aa24f6facf
optimize writer.
2016-05-16 15:52:14 -07:00
Christopher Jeffrey
f0c73f41a6
refactor reader and writer.
2016-05-16 15:32:20 -07:00
Christopher Jeffrey
7e4ac9b0ed
fill and seek.
2016-05-16 15:27:33 -07:00
Christopher Jeffrey
6e97a7d431
add floats to reader and writer.
2016-05-16 15:17:51 -07:00
Christopher Jeffrey
052c18e091
Network.isNetwork.
2016-05-16 13:20:36 -07:00
Christopher Jeffrey
48f8edbe80
hd testing methods.
2016-05-16 13:17:04 -07:00
Christopher Jeffrey
9ac406aa2d
move checkInputs for accuracy.
2016-05-16 05:05:33 -07:00
Christopher Jeffrey
f48fa2b994
safe priority serialization.
2016-05-16 04:57:31 -07:00
Christopher Jeffrey
533e644284
priority calculation.
2016-05-16 04:55:39 -07:00
Christopher Jeffrey
8f3fae329d
refactor mempool.
2016-05-16 04:49:14 -07:00
Christopher Jeffrey
88a5b8a784
refactor mempool orphans.
2016-05-16 04:36:19 -07:00
Christopher Jeffrey
c37a069978
fix limitOrphans.
2016-05-16 04:07:18 -07:00
Christopher Jeffrey
0b6f86c9d5
refactor testTarget.
2016-05-16 03:59:42 -07:00
Christopher Jeffrey
9a962bb73a
fix force53 handling in read64n.
2016-05-16 03:53:25 -07:00
Christopher Jeffrey
58259b6bb6
Revert "use buffers for nonces."
...
This reverts commit 404bdcd109 .
2016-05-16 03:47:55 -07:00
Christopher Jeffrey
404bdcd109
use buffers for nonces.
2016-05-16 03:47:49 -07:00
Christopher Jeffrey
e74b163b9e
utils.nonce.
2016-05-16 03:41:50 -07:00
Christopher Jeffrey
56445cf562
script test.
2016-05-16 03:26:13 -07:00
Christopher Jeffrey
92d95c552c
minor optimizations.
2016-05-16 03:18:28 -07:00
Christopher Jeffrey
c598937e4c
minor.
2016-05-16 01:37:09 -07:00
Christopher Jeffrey
278ff82658
FindAndDelete again.
2016-05-15 23:51:18 -07:00
Christopher Jeffrey
6c997e20b5
remove alternative script num methods.
2016-05-15 22:33:20 -07:00
Christopher Jeffrey
c6ccb0fccf
faster negative script nums.
2016-05-15 22:18:33 -07:00
Christopher Jeffrey
ab68e23238
fix disabled opcodes comparison.
2016-05-15 21:58:54 -07:00
Christopher Jeffrey
1513f06bce
expose opcodes from script module.
2016-05-15 21:55:17 -07:00
Christopher Jeffrey
52541fe123
tests. block reward.
2016-05-15 21:47:39 -07:00
Christopher Jeffrey
39db4e065b
ldb: minor.
2016-05-15 21:29:15 -07:00
Christopher Jeffrey
4314d0cd6a
more tx tests. comments.
2016-05-15 20:32:34 -07:00
Christopher Jeffrey
be3b578267
ldb refactor.
2016-05-15 20:11:23 -07:00
Christopher Jeffrey
a5b8da17fc
services.
2016-05-15 18:33:54 -07:00
Christopher Jeffrey
5ac4621b0e
comments. docs.
2016-05-15 18:22:28 -07:00
Christopher Jeffrey
e75e040d2b
remove comments.
2016-05-15 17:43:51 -07:00
Christopher Jeffrey
535b6a823e
utils and tests.
2016-05-15 17:41:45 -07:00
Christopher Jeffrey
6776c701e3
minor.
2016-05-15 16:18:13 -07:00
Christopher Jeffrey
d91a8b1086
add supersha.
2016-05-15 04:15:24 -07:00
Christopher Jeffrey
4b0519a073
more tests. utils.
2016-05-15 03:33:58 -07:00
Christopher Jeffrey
022de4a91d
cache values.
2016-05-15 00:59:29 -07:00
Christopher Jeffrey
a7f3d2aa8f
ints.
2016-05-15 00:40:21 -07:00
Christopher Jeffrey
dd5c9096a7
use js numbers for values.
2016-05-14 20:57:52 -07:00
Christopher Jeffrey
f38350ec14
fix address.toScript.
2016-05-14 16:10:41 -07:00
Christopher Jeffrey
a1c200356e
mempool: minor.
2016-05-14 14:57:32 -07:00
Christopher Jeffrey
d68509da1d
comments. refactor.
2016-05-14 14:53:40 -07:00
Christopher Jeffrey
31c4b4622a
workers: minor.
2016-05-14 14:44:06 -07:00
Christopher Jeffrey
3a9a0d9840
fix worker mining.
2016-05-14 14:30:59 -07:00
Christopher Jeffrey
7e8ac5e159
comments.
2016-05-14 14:13:19 -07:00
Christopher Jeffrey
493f0092e4
comments. refactor how module is exposed.
2016-05-14 13:22:43 -07:00
Christopher Jeffrey
86fbd64598
add network to new wallets.
2016-05-14 11:31:07 -07:00
Christopher Jeffrey
3cea8323b0
hd and ec refactor.
2016-05-14 10:54:00 -07:00
Christopher Jeffrey
6690991acb
more hd improvements.
2016-05-13 19:28:19 -07:00
Christopher Jeffrey
b164984307
hd refactor.
2016-05-13 18:38:36 -07:00
Christopher Jeffrey
6d55077818
fee work.
2016-05-13 17:21:13 -07:00
Christopher Jeffrey
6a45d693ee
rename chainblock for consistency.
2016-05-13 15:33:25 -07:00
Christopher Jeffrey
6c370e908f
fixes.
2016-05-13 15:32:04 -07:00
Christopher Jeffrey
86bc2227a4
get address working.
2016-05-13 13:38:18 -07:00
Christopher Jeffrey
6bf5554325
rename address.
2016-05-13 13:15:38 -07:00
Christopher Jeffrey
897e4ae662
hd refactor.
2016-05-13 13:04:55 -07:00
Christopher Jeffrey
8db6e1c9a6
store by hash.
2016-05-13 12:01:06 -07:00
Christopher Jeffrey
e51ae84f37
address object.
2016-05-13 11:07:24 -07:00