Commit Graph

2041 Commits

Author SHA1 Message Date
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