Christopher Jeffrey
5e73e51177
lint: fix function names.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
d57dac13e0
coins: refactor method names. add isUnspent.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
0805babec1
coins: get rid of return value polymorphism.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
5602001348
coinview: fixes.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
492c05c378
coinview: refactor api.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
5a116923c5
test: block-test.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
deede064df
minor: lint.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
536497a204
test: update undocoins.
2017-07-31 18:20:47 -07:00
Christopher Jeffrey
345f0c90ac
coins: refactor.
2017-07-31 18:20:47 -07:00
Christopher Jeffrey
a1af3ab980
chaindb: switch to pertxout.
2017-07-31 18:20:47 -07:00
Christopher Jeffrey
9c87804b08
test: refactor walletdb usage.
2017-07-25 15:56:02 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime.
2017-07-25 14:23:10 -07:00
Christopher Jeffrey
6f1f81dcbe
refactor: lint.
2017-07-25 11:21:43 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible.
2017-07-25 05:15:47 -07:00
Christopher Jeffrey
9219e23d8c
hd/wallet: add bip48 arg to prepare for bip48 support. see #238 .
2017-07-23 07:22:53 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations.
2017-07-17 14:26:43 -07:00
Christopher Jeffrey
2f51fd1c50
api: use satoshi values for everything.
2017-07-17 14:26:43 -07:00
Christopher Jeffrey
15ba37099e
test: enable workers for node.
2017-07-17 14:26:41 -07:00
Christopher Jeffrey
3f3516ca18
coinview: remove old serialization methods.
2017-07-17 14:26:39 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere.
2017-07-17 14:26:39 -07:00
Christopher Jeffrey
10672784e5
refactor: rename tx functions. more es6 features.
2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
78d62c73b8
refactor: start using multiple return values.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
9d9d8e2133
refactor: lint.
2017-06-28 02:32:00 -07:00
Christopher Jeffrey
82f67fa87f
test: improve bech32 test.
2017-06-28 02:29:34 -07:00
Christopher Jeffrey
be1ec1c22d
utils: refactor.
2017-06-27 09:28:37 -07:00
Christopher Jeffrey
d4cc22e1c5
refactor: crypto.
2017-06-27 07:27:53 -07:00
Christopher Jeffrey
fa3e98b274
crypto: rename ec to secp256k1.
2017-06-27 02:48:19 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00
Christopher Jeffrey
2ef4d137e6
pkg: switch from jshint to eslint.
2017-06-24 04:45:46 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227 .
2017-06-24 02:39:06 -07:00
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules.
2017-06-22 03:59:49 -07:00
Christopher Jeffrey
9058e7d78a
gcs: rename fromData.
2017-06-16 16:08:15 -07:00
Christopher Jeffrey
b994c278f2
utils: preliminary GCS filter support.
2017-06-16 14:35:50 -07:00
Christopher Jeffrey
015fb8b0b6
siphash: return objects instead of buffers.
2017-06-16 14:30:25 -07:00
Christopher Jeffrey (JJ)
dd16950fe2
Merge pull request #219 from jjz/master
...
Add tes new test file of key-address-test
2017-06-15 22:50:44 -07:00
Christopher Jeffrey
182784c8e0
utils: remove usage of isBrowser. some refactoring.
2017-06-15 22:28:06 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals.
2017-06-12 03:00:08 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications.
2017-05-30 21:11:10 -07:00
jjz
46edf8c591
1. add scripts of test single file
...
2. add key-address-test.js
2017-05-27 15:06:10 +08:00
Christopher Jeffrey
7089735fb0
hd: cleanup some methods.
2017-05-13 23:39:22 -07:00
Christopher Jeffrey
c1dbac3a4a
bech32: optimize bits conversion.
2017-05-13 15:51:51 -07:00
Christopher Jeffrey
a9ea4e5531
bech32: refactor.
2017-05-13 15:13:42 -07:00
Christopher Jeffrey
0ea341772c
address: make bech32 addrs more sane.
2017-05-13 00:21:51 -07:00
Christopher Jeffrey (JJ)
3fda5bedab
Merge pull request #198 from kleetus/compat/bool-validation
...
RPC method compatibility with bitcoin core.
2017-05-12 13:33:36 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString.
2017-04-30 07:13:36 -07:00
Chris Kleeschulte
dd49ee0761
RPC method compatibility with bitcoin core.
...
- RPC method param semantics, unfortunately, aren't consistent in bitcoin core, therefore bcoin can't be used as a drop in replacement if bcoin "fixes the glitch".
- To avoid breaking bcoin's current api, validation of bool includes integers 0 and 1 as false and true, respectively.
- The effect of this is to allow getRawTransaction to work with older client code.
2017-04-21 13:14:33 -04:00
Christopher Jeffrey
6acef06cbc
address: implement bech32 addresses.
2017-04-12 23:13:29 -07:00
Christopher Jeffrey
c0e4c169ba
http: more tests.
2017-03-15 20:38:04 -07:00
Christopher Jeffrey
0d844be588
rpc: tests and fixes.
2017-03-15 20:21:24 -07:00
Christopher Jeffrey
1a3dcbd277
test: add some more rpc tests.
2017-03-15 07:21:14 -07:00
Christopher Jeffrey
42da82e007
wallet: fix tests and add compat routes.
2017-03-14 06:28:55 -07:00
Christopher Jeffrey
aa7e550f91
hd: do not store mnemonic on hd private key.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
1a8a9afade
config/wallet: refactor config handling. add wallet server.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
bfd7cc9266
miner/template: refactor options handling.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
945fa381c5
refactor: mining.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
70a0147080
test: fix chain test.
2017-03-14 06:09:30 -07:00
Christopher Jeffrey
11a2bc1356
net: less banning for bip152.
2017-03-07 18:01:05 -08:00
Christopher Jeffrey
9e480db00f
test: fix chain test.
2017-03-05 17:57:10 -08:00
Christopher Jeffrey
beefcfba67
chain: return null on orphan blocks.
2017-03-04 15:37:27 -08:00
Christopher Jeffrey
e5fd8305bf
test: fix failing bip70 test.
2017-03-01 09:22:14 -08:00
Christopher Jeffrey
89ff0796c7
refactor: do not require json files.
2017-03-01 08:48:53 -08:00
Christopher Jeffrey
7688d80e74
block/chain: refactor block verification and caching.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
47c43ea39a
rpcclient: refactor error handling.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
f71f2d954b
chain: optimize reward calculation.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
304f0e7e75
smart coin selection.
2017-02-22 11:35:49 -08:00
Christopher Jeffrey
1e07d1ba83
chain: improve target and mtp calculation.
2017-02-13 21:59:41 -08:00
Christopher Jeffrey
dcf705d8bc
chain: s/bad-witness-merkle-size/bad-witness-nonce-size/
2017-02-11 12:54:24 -08:00
Christopher Jeffrey
0f1a62b0de
test: block sigops tests.
2017-02-01 23:00:54 -08:00
Christopher Jeffrey
fc2827a5bd
test: add coins test.
2017-02-01 11:56:45 -08:00
Christopher Jeffrey
d0e226f926
test: sigops tests.
2017-02-01 06:07:01 -08:00
Christopher Jeffrey
7d86b4bb5e
test: clean up chain test.
2017-01-31 17:08:12 -08:00
Christopher Jeffrey
74aede0447
test: lint.
2017-01-31 17:03:22 -08:00
Christopher Jeffrey
cc16b48cf4
test: tx sigops tests. more chain tests.
2017-01-31 16:27:39 -08:00
Christopher Jeffrey
231d08b1c4
test: add node-context.
2017-01-30 19:44:50 -08:00
Christopher Jeffrey
bc951e25a9
test: use memwallet for mempool test.
2017-01-30 18:56:56 -08:00
Christopher Jeffrey
df5228c849
test: node/chain tests. add memwallet.
2017-01-30 18:37:56 -08:00
Christopher Jeffrey
b6593adf75
net: remove alert system.
2017-01-19 04:41:58 -08:00
Christopher Jeffrey
491462f551
bip150: add dns resolution. comments.
2017-01-15 23:46:19 -08:00
Christopher Jeffrey
a486bd3a18
refactor: options.
2017-01-14 17:59:54 -08:00
Christopher Jeffrey
34dd6c3b79
http: url fixes.
2017-01-12 13:04:10 -08:00
Christopher Jeffrey
fed7d0de54
http: remove use of callbacks.
2017-01-12 02:57:24 -08:00
Christopher Jeffrey
4c557744a2
refactor: address, amount, uri, errors.
2017-01-09 23:07:02 -08:00
Christopher Jeffrey
9e4ea75198
test: cleanup.
2017-01-09 14:25:45 -08:00
Christopher Jeffrey
a25610857e
mtx: lint.
2017-01-08 21:55:27 -08:00
Christopher Jeffrey
ee4e918024
mtx/tests: more refactoring.
2017-01-08 21:49:54 -08:00
Christopher Jeffrey
95c205b309
mtx: less overloading.
2017-01-08 02:44:55 -08:00
Christopher Jeffrey
8987c0d870
wallet/mtx: fix fee checking and refactor some mtx functions.
2017-01-08 01:36:01 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -08:00
Christopher Jeffrey
d1a4e53896
bloom/net: move bloom constants. net services, move inv types.
2017-01-06 01:57:49 -08:00
Christopher Jeffrey
84f7b0196d
test: fix version packet test.
2017-01-05 14:35:29 -08:00
Christopher Jeffrey
127a52aaf1
refactor: rename network address.
2016-12-20 12:47:19 -08:00
Christopher Jeffrey
1365d0ff1d
net: refactor peer.pending.
2016-12-16 22:48:16 -08:00
Christopher Jeffrey
edf47d67c8
primitives: refresh call.
2016-12-16 22:02:05 -08:00
Christopher Jeffrey
2beb9c06a5
test: fix http.
2016-12-16 18:11:49 -08:00
Christopher Jeffrey
33a8e1e511
block/tx: sigops cost/size/weight.
2016-12-13 16:52:31 -08:00
Christopher Jeffrey
f9a1e18437
wallet: remove resolution.
2016-12-13 14:26:14 -08:00
Christopher Jeffrey
72d5eec710
block/bip152/merkleblock: refactor some block things.
2016-12-11 10:10:00 -08:00
Christopher Jeffrey
48fc7549ce
tx/wallet: misc fixes.
2016-12-11 06:14:32 -08:00
Christopher Jeffrey
59645ac3ec
refactor: remove extra properties from tx and block.
2016-12-11 05:35:31 -08:00
Christopher Jeffrey
f3801fa8a7
refactor: move coins.
2016-12-10 22:00:27 -08:00
Christopher Jeffrey
b437b33760
test/bench: lint.
2016-12-10 17:13:45 -08:00
Christopher Jeffrey
d2e61d1fa2
test: cleanup tests.
2016-12-10 14:43:58 -08:00
Christopher Jeffrey
bf2e7d1486
test: fix tx tests.
2016-12-10 08:11:24 -08:00
Christopher Jeffrey
092c1a90df
coins: undo coins fixes.
2016-12-09 17:29:33 -08:00
Christopher Jeffrey
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs.
2016-12-09 07:15:35 -08:00
Christopher Jeffrey
ead3f64b7f
Merge branch 'pass-coins-4' into coins-compression-2
2016-12-09 00:01:14 -08:00
Christopher Jeffrey
ee7d39ce81
policy: lower min relay fee to 1000.
2016-12-08 02:11:33 -08:00
Christopher Jeffrey
b2065cc84d
mempool: minor.
2016-12-08 01:48:39 -08:00
Christopher Jeffrey
82a1a24138
test: fix mempool tests.
2016-12-08 01:40:04 -08:00
Christopher Jeffrey
9e4db47792
wallet: improve size estimation.
2016-12-06 23:29:13 -08:00
Christopher Jeffrey
f7e50e3435
tx: pass coins into scripting system.
2016-12-06 17:37:35 -08:00
Christopher Jeffrey
4e4dbfba49
server/wallet/mempool: get tests passing.
2016-12-05 21:02:08 -08:00
Christopher Jeffrey
a95aba92fb
serialization: less polymorphism.
2016-12-04 00:54:50 -08:00
Christopher Jeffrey
a4d30f00a8
workers: improve protocol.
2016-12-02 11:52:03 -08:00
Christopher Jeffrey
c190dd2aad
util: refactor encoding.
2016-12-02 04:34:38 -08:00
Christopher Jeffrey
81e71e7922
wallet: drop wallet getters.
2016-11-30 23:12:01 -08:00
Christopher Jeffrey
bffdd78009
hd: drop getters.
2016-11-30 22:00:22 -08:00
Christopher Jeffrey
ded3bc34f3
refactor: start moving away from getters.
2016-11-30 21:31:52 -08:00
Christopher Jeffrey
c02514a8b3
test: add chain state test.
2016-11-30 18:53:52 -08:00
Christopher Jeffrey
311b9841fb
chain: more refactoring.
2016-11-30 16:02:56 -08:00
Christopher Jeffrey
e7bcbbb976
chain: drop newCoins option.
2016-11-29 21:01:48 -08:00
Christopher Jeffrey
dcb376f26d
chain: add newCoins option.
2016-11-29 20:36:23 -08:00
Christopher Jeffrey
0f529d5f8b
chain/block: reorder some consensus checks.
2016-11-29 20:36:23 -08:00
Christopher Jeffrey
507fd89948
timedata: move time to network object.
2016-11-28 16:58:48 -08:00
Christopher Jeffrey
d1e37582d1
block/crypto: refactor merkle trees.
2016-11-28 15:59:30 -08:00
Christopher Jeffrey
20cdb1adbc
miner: clear coins.
2016-11-26 09:27:17 -08:00
Christopher Jeffrey
85adb1acec
test: chain.
2016-11-26 06:56:44 -08:00
Christopher Jeffrey
c0fd199f2d
chain: refactor and optimize.
2016-11-25 19:34:25 -08:00
Christopher Jeffrey
1f22013ce0
chain: versionbits refactor.
2016-11-23 17:03:58 -08:00
Christopher Jeffrey
229be344fc
chaindb: persistent versionbits state caches.
2016-11-22 23:59:02 -08:00
Christopher Jeffrey
f376289684
crypto: implement subtle api for browser.
2016-11-21 17:50:05 -08:00
Christopher Jeffrey
6c61ad976d
walletdb: add experimental client.
2016-11-19 22:55:00 -08:00
Christopher Jeffrey
d75b5d80cc
walletdb: nodeclient work.
2016-11-19 21:40:31 -08:00
Christopher Jeffrey
bf34a8133d
btc: rename.
2016-11-19 11:14:38 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename.
2016-11-19 10:45:31 -08:00
Christopher Jeffrey
ae093d2242
amount/utils: drop utils.btc and utils.satoshi.
2016-11-19 09:59:47 -08:00
Christopher Jeffrey
a1ec1bfff1
modules: refactor indexes.
2016-11-19 06:36:57 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring.
2016-11-19 05:29:29 -08:00
Christopher Jeffrey
bc00697adb
mempool/miner: mining and mempool refactor.
2016-11-18 06:35:20 -08:00
Christopher Jeffrey
8377a5082e
walletdb: start marking the start block.
2016-11-16 09:26:06 -08:00
Christopher Jeffrey
2d21c6bf0b
test: update segwit script and tx tests.
2016-11-11 19:40:37 -08:00
Christopher Jeffrey
41f711987c
test: add chain test for removeChains.
2016-11-11 14:02:32 -08:00
Christopher Jeffrey
ba0e62efd7
test: chaindb - minor.
2016-11-09 18:25:35 -08:00
Christopher Jeffrey
aa79d92a83
http: more wallet api calls.
2016-11-09 18:25:33 -08:00
Christopher Jeffrey
3a89e627b8
walletdb: sync state and utxo handling refactor.
2016-11-09 18:25:32 -08:00
Christopher Jeffrey
45ad99c8f5
walletdb: add sync state object.
2016-11-09 18:25:32 -08:00
Christopher Jeffrey
62ef5ea7f4
bip152: implement segwit compact blocks.
2016-11-06 22:34:05 -08:00
Christopher Jeffrey
4823e71066
tests: add version bits and csv chain tests.
2016-11-03 20:53:49 -07:00
Christopher Jeffrey
6696045f60
test: fix encryption test.
2016-10-25 11:55:07 -07:00
Christopher Jeffrey
6e5bb6eef7
wallet: better masterkey handling for timeouts.
2016-10-25 11:27:47 -07:00
Christopher Jeffrey
5a4ebccfd4
walletdb: use bloom filter for rescanning.
2016-10-24 18:43:39 -07:00
Christopher Jeffrey
45464c412f
walletdb: refactor block handling.
2016-10-24 10:40:53 -07:00
Christopher Jeffrey
11a7515bfd
walletdb: improve block handling.
2016-10-23 22:24:00 -07:00
Christopher Jeffrey
8896ff9665
test: clean up wallet tests.
2016-10-23 15:04:55 -07:00
Christopher Jeffrey
4128ddba36
wallet: more chain atomicity.
2016-10-22 13:34:28 -07:00
Christopher Jeffrey
9049053a1e
http: send details after send.
2016-10-21 19:38:10 -07:00
Christopher Jeffrey
33bcc08656
tx/block: cache hashes.
2016-10-21 19:38:09 -07:00
Christopher Jeffrey
dc0cbc3637
txdb: fix deterministic weight.
2016-10-21 19:38:09 -07:00
Christopher Jeffrey
284932f4cf
txdb: serialization.
2016-10-21 19:38:09 -07:00
Christopher Jeffrey
557c1044cc
txdb: new orphan resolution.
2016-10-21 19:38:09 -07:00
Christopher Jeffrey
3412916c89
txdb: refactor.
2016-10-21 19:38:08 -07:00
Christopher Jeffrey
8368265c71
test: txdb no resolution tests.
2016-10-21 19:38:07 -07:00
Christopher Jeffrey
06a104c34d
txdb: cleanup.
2016-10-21 19:38:07 -07:00
Christopher Jeffrey
b666b89a4c
test: txdb missed txs.
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c07848fadd
txdb: orphan resolution.
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
ed6ec1e56c
test: latest script tests.
2016-10-21 19:38:05 -07:00
Christopher Jeffrey
a864ec1552
wallet: refactor passphrase options.
2016-10-21 19:38:04 -07:00
Christopher Jeffrey
a2d6ed56e7
refactor: have promises resolve to undefined.
2016-10-21 19:38:04 -07:00
Braydon Fuller
768595dca2
test: include derivation test when private key has leading zeros
2016-10-19 22:05:45 -04:00
Christopher Jeffrey
acae838059
miner: refactor jobs and pool.
2016-10-05 16:56:26 -07:00
Christopher Jeffrey
baeb786bb8
test: fix wallet accurate fee test.
2016-10-03 15:17:23 -07:00
Christopher Jeffrey
0f74292082
refactor: style.
2016-10-03 07:58:12 -07:00
Christopher Jeffrey
2097450b42
wallet: move watchOnly flag to wallet for safety.
2016-10-03 03:03:10 -07:00
Christopher Jeffrey
3e59282c66
deps: browser transform.
2016-10-03 01:48:08 -07:00
Christopher Jeffrey
7b3134d782
account: hd watchonly support.
2016-10-02 23:24:13 -07:00
Christopher Jeffrey
57bc9bf4b0
wallet: better encrypted for imported keys.
2016-10-02 23:24:13 -07:00
Christopher Jeffrey
c43df089f6
script: refactor verification and execution.
2016-10-02 23:24:12 -07:00
Christopher Jeffrey
6dfa47e7f4
refactor: rename constructors.
2016-10-02 23:24:12 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f96ee525f5
http: refactor deps and tests.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
376d6303b7
env: refactor how default instances work.
2016-10-02 23:24:10 -07:00
Christopher Jeffrey
960393a53f
wallet: use separate branch for nested addrs.
2016-10-02 23:24:10 -07:00
Christopher Jeffrey
8c5c9de132
wallet: more rewriting.
2016-10-02 23:24:09 -07:00
Christopher Jeffrey
61a77d90e9
wallet: more rewriting.
2016-10-02 23:24:09 -07:00
Christopher Jeffrey
2544e5310a
walletdb: path refactor.
2016-10-02 23:24:09 -07:00
Christopher Jeffrey
99ef1fbc7b
test: update tx tests.
2016-10-02 23:24:07 -07:00
Christopher Jeffrey
44b78dd345
tests: use generators.
2016-09-23 04:18:54 -07:00
Christopher Jeffrey
ed66e0b7cc
test: fix chain tests.
2016-09-23 02:11:16 -07:00
Christopher Jeffrey
3b14525d17
refactor: lint. misc.
2016-09-23 00:56:53 -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
2899219033
refactor: cleanup.
2016-09-21 11:03:48 -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
b03a10d790
script: implement bip146 (nullfail).
2016-09-18 12:03:12 -07:00
Christopher Jeffrey
d6576c51f1
merkleblock: use buffers for tree hashes.
2016-09-16 19:18:00 -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
07285ebdd7
refactor: rename cost to weight.
2016-09-13 02:06:18 -07:00
Christopher Jeffrey
2dba490d02
crypto: expose scrypt.
2016-09-12 22:56:13 -07:00
Christopher Jeffrey
7f31a41e84
perf: start using bcoin-native.
2016-09-12 14:10:20 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils.
2016-09-06 15:15:36 -07:00
Christopher Jeffrey
a02564e0a1
test: fix http tests.
2016-09-06 00:56:25 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures.
2016-09-01 02:06:08 -07:00
Christopher Jeffrey
a14da39384
bip152: refactor siphash.
2016-08-26 02:29:09 -07:00
Christopher Jeffrey
acdd9c0a8a
compact: more compact block tests.
2016-08-25 20:48:09 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths.
2016-08-25 20:40:47 -07:00
Christopher Jeffrey
22e90303a2
siphash: refactor.
2016-08-25 14:47:50 -07:00
Christopher Jeffrey
5fa102d5bd
test: fix protocol tests.
2016-08-25 14:25:00 -07:00
Christopher Jeffrey
6105095379
refactor: more restructuring.
2016-08-24 04:59:06 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again).
2016-08-24 01:36:42 -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
134bece292
bip150: first implementation.
2016-08-23 04:16:11 -07:00
Christopher Jeffrey
3cac0a96d2
http: better events.
2016-08-22 19:08:39 -07:00
Christopher Jeffrey
aec3548b26
walletdb: fix reorg handling.
2016-08-22 17:55:44 -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
2b3c6622d3
test: fix mempool test.
2016-08-19 00:42:27 -07:00
Christopher Jeffrey
c836786b99
mtx/wallet: refactor keyring.
2016-08-19 00:39:56 -07:00
Christopher Jeffrey
4b85715ec2
do not accept mutable txs anywhere except wallet.
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
e2d530c0da
wallet: range fixes. tests.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c8bc9fb8b6
mempool: rewrite.
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
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
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
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
9c94fae2a8
txdb: refactor batches.
2016-08-18 02:09:30 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more.
2016-07-26 01:08:42 -07:00
Christopher Jeffrey
b455352708
peer/bip151: rewrite bip151. handle bip151 on p2p network.
2016-07-25 18:24:30 -07:00
Christopher Jeffrey
064ba7df9b
bip152: fixes. refactor.
2016-07-25 11:32:35 -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
54cf5ce341
bip151: minor.
2016-07-22 22:40:13 -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
2ec1f33cde
implement hkdf.
2016-07-20 14:25:18 -07:00