Braydon Fuller
b4be8574e5
test: improve addrindex tests
...
- Vectors for p2wsh and p2sh.
- Edge case for witness program.
- Improve determinism by not comparing mtime.
- Various edge and error cases.
2019-05-15 12:11:32 -07:00
Nodar Chkuaselidze
f30276bc27
test: add mempool indexing tests
2019-05-15 12:11:05 -07:00
Nodar Chkuaselidze
80aaa148e4
test: add mempool index persistence test
2019-05-15 12:11:05 -07:00
Braydon Fuller
0b0dd58a91
node: add blockstore to full node
2019-04-08 13:18:54 -07:00
Nodar Chkuaselidze
f0023cb489
test: mempool should reject non-standard p2sh
2019-02-14 23:47:19 +04:00
Nodar Chkuaselidze
32cba1bf4a
mempool: reflect spent coins in mempool coinview.
...
Currently coinview does not account for spent coins in the mempool,
This does not create problems because we have additional checks in
right places which detect double spends, but technically
coinview should help you detect double spent in the mempool as well.
This way it will be compatible with chain.getCoinView.
getSpentView will still return all outputs that are available
in the mempool. (This could also return spentView from indexers if
available, this method is used by `signrawtransaction`.)
2018-11-25 23:32:13 +04:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533 .
2018-08-10 16:23:46 -07:00
Christopher Jeffrey
cd7c63d95d
wallet: always use separate http server.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f2abdf68cb
bcoin: move encoding constants around.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf.
2018-03-29 21:56:46 -07:00
Christopher Jeffrey
636d66a5c7
bcoin: use bcrypto. remove crypto module.
2018-03-29 21:56:45 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
...
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Christopher Jeffrey
c522c79c58
test: more refactoring of various tests and assert module.
2017-08-12 12:51:52 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods.
2017-08-10 11:17:10 -07:00
Christopher Jeffrey
6f96e64f70
test: enable worker pool for all tests.
2017-08-10 07:27:08 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests.
2017-08-09 15:28:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names.
2017-07-31 18:21:03 -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
c53f4cf89e
refactor: switch to const/let.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
d4cc22e1c5
refactor: crypto.
2017-06-27 07:27:53 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227 .
2017-06-24 02:39:06 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications.
2017-05-30 21:11:10 -07:00
Christopher Jeffrey
bc951e25a9
test: use memwallet for mempool test.
2017-01-30 18:56:56 -08:00
Christopher Jeffrey
fed7d0de54
http: remove use of callbacks.
2017-01-12 02:57:24 -08:00
Christopher Jeffrey
9e4ea75198
test: cleanup.
2017-01-09 14:25:45 -08:00
Christopher Jeffrey
95c205b309
mtx: less overloading.
2017-01-08 02:44:55 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -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
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
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
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
81e71e7922
wallet: drop wallet getters.
2016-11-30 23:12:01 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename.
2016-11-19 10:45:31 -08:00
Christopher Jeffrey
605874068b
s/bn/BN/g
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
0f74292082
refactor: style.
2016-10-03 07:58:12 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
44b78dd345
tests: use generators.
2016-09-23 04:18:54 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work.
2016-09-22 00:24:59 -07:00