Rithvik Vibhu
19308ef5bb
protocol: clear regtest and simnet seeds
...
Reduces console spam when only a single node is running on regtest/simnet networks
2020-12-26 23:50:29 +05:30
Matthew Zipkin
480d286a57
policy: set default minimum block weight to 5000
2020-09-15 14:00:27 -04:00
Christopher Jeffrey
bbac8dd943
net: improve address management.
2020-03-02 14:14:36 -08:00
Christopher Jeffrey
2b09c30cb9
networks/chain: set first checkpoint at height 1008.
2020-02-13 10:26:42 -08:00
Christopher Jeffrey
a5e282a57f
networks: generate genesis blocks.
2020-02-03 12:31:46 -08:00
Christopher Jeffrey
883fc0bd3b
protocol: update temporary genesis blocks.
2020-02-01 22:27:32 -08:00
Christopher Jeffrey
98cfcae955
networks: add seeds for mainnet.
2020-02-01 22:18:23 -08:00
Christopher Jeffrey
4cb36cbe40
net: fix port selection elsewhere.
2020-02-01 15:12:40 -08:00
Christopher Jeffrey
74f2dfd19c
hsd: use bcrypto merkle module.
2020-01-31 05:56:08 -08:00
Christopher Jeffrey
609af67780
consensus: switch to ksk2017.
2020-01-31 05:16:20 -08:00
Christopher Jeffrey
a2b96be410
protocol: re-create genesis blocks. add genesis script for mainnet.
2020-01-29 06:08:46 -08:00
Christopher Jeffrey
d32e0178d2
networks: update soft fork times.
2020-01-29 05:44:25 -08:00
Christopher Jeffrey
a333a24d40
net: use plaintext by default. various improvements.
2020-01-29 02:01:32 -08:00
Christopher Jeffrey
0623f4df05
Revert "Merge pull request #331 from tynes/p2p-brontide-safety"
...
This reverts commit 340952867a , reversing
changes made to e2039e8954 .
2020-01-29 01:58:18 -08:00
Boyma
673b71ebf7
Merge pull request #330 from pinheadmz/txstart1
...
[consensus] No transactions for the first two weeks
2020-01-26 00:40:25 -08:00
Christopher Jeffrey (JJ)
6bb2220a88
Merge pull request #305 from tynes/disable-goosig
...
chain: disable goosig after 1 year + 1 month
2020-01-25 23:43:51 -08:00
Mark Tyneway
d5cfb7887b
p2p: standard and brontide peering
...
Separate the brontide and plaintext servers
so that peers can network over either.
2020-01-25 20:00:00 -08:00
Mark Tyneway
9c092c097e
consensus: disable goosig after 1 year + 1 month
2020-01-24 18:32:45 -08:00
Matthew Zipkin
47e29dbaa6
consensus: enforce starting height for all transactions
2020-01-24 14:53:16 -05:00
Christopher Jeffrey
e68b77b8c8
block: cleanup new pow/header serialization.
2019-11-04 03:57:19 -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
601267d1b5
consensus: increase base reward to 2000. fixes #100 .
2019-04-01 06:56:14 -07:00
Christopher Jeffrey
a2e357d9b5
Revert "protocol: clear simnet seeds"
...
This reverts commit aae98c921d .
2019-04-01 06:27:37 -07:00
Christopher Jeffrey
41558d8b69
Revert "protocol: clear regtest seeds"
...
This reverts commit eaf53f4f75 .
2019-04-01 06:27:27 -07:00
Christopher Jeffrey
be4331fc8d
chain: switch to bitcoin cash style retargetting.
2019-04-01 06:25:40 -07:00
Christopher Jeffrey
9762b29922
covenants: implement mass name revocation safeguards. see #103 .
...
This commit accomplishes a few things:
- The emergency soft-fork safe guards and on-chain mitigations described in
#103 are implemented.
- Claimed names no longer expire within the reservation window, but are still
revokable.
- We now track the registered and expired state of a name.
- In addition to the above, we track the total number of renewals.
- We no longer clear name data on expiration.
2019-04-01 06:25:40 -07:00
Mark Tyneway
aae98c921d
protocol: clear simnet seeds
2019-03-04 12:46:01 -08:00
Mark Tyneway
eaf53f4f75
protocol: clear regtest seeds
...
port of https://github.com/bcoin-org/bcoin/pull/694
to eliminate the regtest seed, this cleans up the
logs when running a regtest node
2019-02-25 22:05:37 -08:00
Christopher Jeffrey
72ff65ff69
genesis: regenerate genesis blocks.
2019-01-22 01:20:44 -08:00
Christopher Jeffrey
8bf0d368f4
networks: update soft forks.
2019-01-21 22:06:30 -08:00
Christopher Jeffrey
4a1018b9f1
consensus: increase name DoS limits.
2019-01-21 22:06:30 -08:00
Christopher Jeffrey
9abad12bcb
genesis: generate new testnet block.
2019-01-21 22:06:27 -08:00
Christopher Jeffrey
8a27cbf4c8
networks: update testnet pow limit and auctionStart/rolloutInterval.
2019-01-21 22:06:27 -08:00
Christopher Jeffrey
ee913e0547
bip152/consensus: drop MAX_HEADER_SIZE constant.
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
016c487261
pkg: remove bn.js dependency.
2018-08-10 16:34:06 -07:00
Christopher Jeffrey
9cd21308b3
chain/net: fix initial block sync.
2018-08-07 22:22:15 -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
b46abfb034
merkle: cleanup.
2018-08-01 11:52:35 -07:00
Christopher Jeffrey
6920520f6c
names: better dos limits.
2018-08-01 04:40:59 -07:00
Christopher Jeffrey
8a49ed432e
consensus: add MAX_BLOCK_OPENS.
2018-07-29 22:59:39 -07:00
Christopher Jeffrey
ba8896712b
protocol: add rfc6962-2.
2018-07-25 11:59:39 -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
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
e7e09c40c6
covenants: get claim tests passing.
2018-07-10 01:21:36 -07:00
Christopher Jeffrey
da209bb63e
chain: add rollover soft-fork.
2018-07-08 18:11:45 -07:00