Commit graph

66 commits

Author SHA1 Message Date
Christopher Jeffrey
13ae3f1d0f
rpc: expose airdrops for block templates. 2019-01-21 22:06:26 -08:00
Christopher Jeffrey
40157aa468
hsd: several hard-forks.
- Change PoW to KMAC+BLAKE2b-256, remove Cuckoo Cycle.
- Change to a 10 minute block time (updates other constants,
                                    including the halving interval).
- Add `filterRoot` to block header.
- Add a separate witnessRoot.

The last change fixes our original misdesigned segwit, which made syncing a
non-witness chain more difficult than it needed to be. The previous design
merkelized the transaction itself and there was only one merkle root, which was
essentially a witness root. This required "witness data hashes" to be requested
for each block in a non-witness sync. Using a separate tree is just a better
design in the end.
2019-01-21 22:06:25 -08:00
Christopher Jeffrey
94d59e9234
http: fix tests. 2018-08-01 20:09:25 -07:00
Christopher Jeffrey
d4782e0cc1
hskd: switch to buffer maps and structs. 2018-07-15 06:22:25 -07:00
Christopher Jeffrey
50afbd7e28
test: fix chain value checks. 2018-07-14 12:28:41 -07:00
Christopher Jeffrey
285ac862b7
consensus: implement permissionless claim proofs. 2018-07-07 16:33:56 -07:00
Christopher Jeffrey
674d1d6003
net: fix various p2p serialization issues. 2018-06-19 09:32:47 -07:00
Christopher Jeffrey
a3acced655
block: switch to a single merkle root. 2018-06-15 01:38:59 -07:00
Christopher Jeffrey
a397ea4c6e
chain: switch to 5 minute block time. add reserved field in header. closes #10 and #11. 2018-06-08 19:30:38 -07:00
Christopher Jeffrey
6bdc73b50e
chain: switch to new name tree. commit only 160 bit name hashes. 2018-05-28 09:02:54 -07:00
Christopher Jeffrey
baf9f136bf
test: fix node-test. 2018-05-01 02:56:37 -07:00
Christopher Jeffrey
1e562be4cd
resource: use dns label compression. 2018-04-26 02:31:26 -07:00
Christopher Jeffrey
05bfd80a73
rules: remove cold output. 2018-04-25 20:01:06 -07:00
Christopher Jeffrey
9e52d2f518
test: get tests passing. 2018-03-13 23:21:17 -07:00
Christopher Jeffrey
add3235d5b
hsk: no more little-endian hashes. add outputs to genesis block. 2018-03-02 19:26:21 -08:00
Christopher Jeffrey
02c193b012
wallet: always use separate http server. 2017-12-12 08:47:39 -08:00
Christopher Jeffrey
218b03f1e8
utils: remove dependence on co. 2017-11-01 14:13:07 -07:00
Christopher Jeffrey
894ad373ac
wallet: get server working. 2017-10-26 12:03:45 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
8a409a6969
wallet/bcoin: stop tracking network everywhere. 2017-10-20 06:04:40 -07:00
Christopher Jeffrey
077c6883a1
wallet: all async methods. 2017-10-19 02:07:26 -07:00
Christopher Jeffrey
0abc10f09b
wallet-rewrite 2017-10-19 02:06:14 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -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
a6b2c23a41
script: start using scriptnum implementation. 2017-08-20 15:13:17 -07:00
Christopher Jeffrey
3a7484d782
test: refactor assertions. 2017-08-11 18:25:54 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods. 2017-08-10 11:17:10 -07:00
Christopher Jeffrey
8146fb28f0
test: use better asserts. 2017-08-09 15:38:33 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests. 2017-08-09 15:28:03 -07:00
Christopher Jeffrey
a085214d54
test: refactor several tests. clean up test data. 2017-08-02 00:19:08 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await. 2017-07-31 18:21: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
9c87804b08
test: refactor walletdb usage. 2017-07-25 15:56:02 -07:00
Christopher Jeffrey
15ba37099e
test: enable workers for node. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 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
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
33ffb780b3
refactor: expose int64 and big numbers as modules. 2017-06-22 03:59:49 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString. 2017-04-30 07:13:36 -07:00
Christopher Jeffrey
0d844be588
rpc: tests and fixes. 2017-03-15 20:21:24 -07:00
Christopher Jeffrey
42da82e007
wallet: fix tests and add compat routes. 2017-03-14 06:28:55 -07:00
Christopher Jeffrey
1a8a9afade
config/wallet: refactor config handling. add wallet server. 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
df5228c849
test: node/chain tests. add memwallet. 2017-01-30 18:37:56 -08:00