Commit graph

110 commits

Author SHA1 Message Date
Nodari Chkuaselidze
23468477af
scripts: Instead of removing history from hs-client#master, append to it. 2023-08-08 13:01:32 +04:00
Nodari Chkuaselidze
b0661265f1
scripts: Add more options to hs-client generator. 2023-05-29 22:59:46 +04:00
Nodari Chkuaselidze
2dc2c488d9
client: Import hs-client into the project. 2023-01-16 23:49:05 +04:00
Christopher Jeffrey
a2b96be410
protocol: re-create genesis blocks. add genesis script for mainnet. 2020-01-29 06:08:46 -08:00
Christopher Jeffrey
a1a2231a60
genesis: commit to airdrop, faucet, and name root. 2019-12-11 15:37:14 -08:00
Christopher Jeffrey
5a34dd6633
chain/block/mining: implement a more foolproof pow (WIP). 2019-11-04 03:57:19 -08:00
Christopher Jeffrey
af86d48997
protocol: testnet4 begins. 2019-04-02 22:24:39 -07:00
Christopher Jeffrey
72ff65ff69
genesis: regenerate genesis blocks. 2019-01-22 01:20:44 -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
75ed613d6d
genesis: remove outputs from genesis block. 2019-01-21 22:06:25 -08:00
Christopher Jeffrey
d4782e0cc1
hskd: switch to buffer maps and structs. 2018-07-15 06:22:25 -07:00
Christopher Jeffrey
a214203e6f
genesis: minor comment change. 2018-07-13 08:39:13 -07:00
Christopher Jeffrey
5868ffe5b3
net/protocol: prepare for new testnet. 2018-07-12 07:41:01 -07:00
Christopher Jeffrey
8ce798dda9
covenants: commit auction state to tree. add OPEN covenant. 2018-07-11 23:35:09 -07:00
Christopher Jeffrey
285ac862b7
consensus: implement permissionless claim proofs. 2018-07-07 16:33:56 -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
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
b91eeb71d2
scripts: rename genesis. 2018-03-14 08:51:14 -07:00
Christopher Jeffrey
d5d53ba0d1
networks: individualize keys for each network. 2018-03-14 02:34:21 -07:00
Christopher Jeffrey
9e52d2f518
test: get tests passing. 2018-03-13 23:21:17 -07:00
Christopher Jeffrey
ab190fc89f
protocol: new genesis blocks. 2018-03-12 20:12:19 -07:00
Christopher Jeffrey
c5f30702bf
hskd: try using glue. 2018-03-12 03:28:17 -07:00
Christopher Jeffrey
cb0f588001
hsk: refactor. add glue. lint. 2018-03-12 03:04:56 -07:00
Christopher Jeffrey
3ea8aec007
hsk: use blake2 for addr hashes. 2018-03-11 18:16:46 -07:00
Christopher Jeffrey
16247a8451
covenants: include old revocation system. 2018-03-11 17:46:38 -07:00
Christopher Jeffrey
1aaa51a69e
covenants: switch to vickrey auction system. 2018-03-10 01:54:16 -08:00
Christopher Jeffrey
ab99474bc8
hsk: fix revokes. 2018-03-04 20:30:01 -08:00
Christopher Jeffrey
1f09fae12a
covenants/wallet: implement new revocation system. 2018-03-04 10:51:00 -08: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
a7ff40d6ce
dns: use an authoritative server. 2018-02-18 05:13:01 -08:00
Christopher Jeffrey
9d34090aa3
scripts: remove dump. 2018-02-01 13:44:49 -08:00
Christopher Jeffrey
2151f115a5
scripts: remove seeds. 2018-02-01 13:44:01 -08:00
Christopher Jeffrey
2ad8f52254
scripts: remove fuzzer. 2018-02-01 13:43:46 -08:00
Christopher Jeffrey
9249f147ea
scripts: remove certs. 2018-02-01 13:43:34 -08:00
Christopher Jeffrey
9304e66aed
blockchain: get covenants and trie working. 2018-01-05 07:51:19 -08:00
Christopher Jeffrey
a306fbbe40
consensus: change halving and reward. 2018-01-05 03:17:44 -08:00
Christopher Jeffrey
4c50d7d0c1
gen: add real key. 2018-01-04 20:00:55 -08:00
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin. 2018-01-02 20:24:56 -08:00
Christopher Jeffrey
c9c7baaff0
handshake: initial work. 2017-12-31 16:46:13 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding. 2017-12-05 03:14:34 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module. 2017-11-16 11:43:24 -08:00
Christopher Jeffrey
1b39abe157
bcoin: rename bufio and bstring. 2017-11-15 09:02:44 -08:00
Christopher Jeffrey
3ecc9829e3
utils: start using bbuf. 2017-10-30 21:29:49 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
71182864e7
bcoin: use bcrypto. remove crypto module. 2017-10-25 21:21:39 -07:00
Christopher Jeffrey
eabcf21f49
fuzz: lint. 2017-08-25 18:10:29 -07:00
Christopher Jeffrey
f1ac30a6c1
fuzz: update fuzzer to use bitcoinconsensus. 2017-08-24 22:23:53 -07:00