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
daf38ea4dd
airdrop: first attempt at airdrop proofs.
2018-12-02 15:56:50 -08:00
Christopher Jeffrey
ee20997321
deps: upgrade to modern bns and bcrypto.
2018-09-29 14:51:22 -07:00
Christopher Jeffrey
9cd21308b3
chain/net: fix initial block sync.
2018-08-07 22:22:15 -07:00
Christopher Jeffrey
a77ed0b46b
rpc: stop using for-await.
2018-08-07 13:48:57 -07:00
Christopher Jeffrey
999a1c2f54
node/wallet: improve name rpc calls.
2018-08-04 14:33:39 -07:00
Christopher Jeffrey
771c8d42aa
pkg: rename btc->ui.
2018-08-01 20:34:21 -07:00
Christopher Jeffrey
a03fcd1a23
pkg: rename to hsd.
2018-08-01 20:00:09 -07:00
Christopher Jeffrey
b8fb76e813
covenants: rename auction to namestate.
2018-07-31 19:54:40 -07:00
Christopher Jeffrey
13d2197b76
covenants: store all name state in the urkel tree.
2018-07-31 19:04:06 -07:00
Christopher Jeffrey
169da98147
pkg: update deps. remove build.
2018-07-19 05:40:48 -07:00
Christopher Jeffrey
d4782e0cc1
hskd: switch to buffer maps and structs.
2018-07-15 06:22:25 -07:00
Christopher Jeffrey
29e629cfae
covenants: better managing of reserved names.
2018-07-12 06:50:02 -07:00
Christopher Jeffrey
5b68bc0059
miner: enforce weight limit for claims.
2018-07-10 18:53:05 -07:00
Christopher Jeffrey
ddd06adbb7
wallet/db: improvements to auction state handling.
2018-07-10 16:23:52 -07:00
Christopher Jeffrey
e7e09c40c6
covenants: get claim tests passing.
2018-07-10 01:21:36 -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
4bf4eec623
node/rpc: fix some rpc calls.
2018-06-12 22:36:52 -07:00
Christopher Jeffrey
ca745fe9f7
covenants: use new revocation system and FINALIZE covenant.
2018-06-10 01:34:06 -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
f3db8d8c39
hskd: update links.
2018-06-08 07:13:46 -07:00
Christopher Jeffrey
7bcfd8bc27
wallet/node: more rpc improvements.
2018-05-29 03:44:55 -07:00
Christopher Jeffrey
717a6d4a6b
rpc: parse name data.
2018-05-29 02:02:44 -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
a8e1703b5f
hskd: start using bio.Struct.
2018-03-11 23:24:11 -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
9dc6b6afbb
rpc: new getwork interface.
2018-03-09 22:15:10 -08:00
Christopher Jeffrey
ab99474bc8
hsk: fix revokes.
2018-03-04 20:30:01 -08:00
Christopher Jeffrey
c70e983122
hsk: reimplement proof handling.
2018-03-04 18:11:59 -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
e8c2337fbe
hsk: update copyright.
2018-02-01 13:40:45 -08:00
Christopher Jeffrey
84f811f6e9
hsk: move cuckoo cycle and trie in.
2018-02-01 13:34:03 -08:00
Christopher Jeffrey
c090793e79
hsk: rename to hsk.
2018-02-01 13:28:31 -08:00
Christopher Jeffrey
6f64f8ba49
rpc: refactor name related calls.
2018-01-31 19:14:51 -08:00
Christopher Jeffrey
4053b07b06
db/wallet: data management.
2018-01-14 06:30:35 -08:00
Christopher Jeffrey
2ef47124fc
handshake: wallet work.
2018-01-09 14:30:37 -08:00
Christopher Jeffrey
9304e66aed
blockchain: get covenants and trie working.
2018-01-05 07:51:19 -08:00
Christopher Jeffrey
bbe1322e51
refactor: handshakeify.
2018-01-05 04:11:11 -08:00
Christopher Jeffrey
a306fbbe40
consensus: change halving and reward.
2018-01-05 03:17:44 -08:00
Christopher Jeffrey
63551fa858
hsk: switch to hash256 for p2sh.
2018-01-03 19:23:04 -08:00
Christopher Jeffrey
09e56d6144
hsk: use 64 byte signatures everywhere.
2018-01-03 18:58:48 -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
dfe4738a0b
peer: add reverse dns lookup.
2017-12-20 11:34:15 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding.
2017-12-05 03:14:34 -08:00
Christopher Jeffrey
944cf29331
net: move netaddress.
2017-11-22 13:49:14 -08:00