197 Commits

Author SHA1 Message Date
Jianping Wu
9dfb141524 Fixed test net genesis nonce. 2018-12-20 19:28:27 -08:00
Jianping Wu
f80d9fed49 Set the same halving schedule as bitcoin. Increased block reward to 500. 2018-12-15 21:22:25 -08:00
Jianping Wu
33bb11cdda Re-arranged keva ops.
Changed genesis block reward to 0.00001 coin.
2018-12-13 10:43:54 -08:00
Jianping Wu
cf0c3f22c0 Reduced the nMinimumChainWork for the first release. 2018-12-13 10:43:54 -08:00
Jianping Wu
ceb78e8e72 Fixed genesis coinbase scriptPubKey. 2018-12-13 10:43:54 -08:00
Jianping Wu
638a5a715c Added kevacoin DNS seeders. 2018-12-13 10:43:54 -08:00
Jianping Wu
e4376fdcb5 Increased total supply to: 1344000000.
Fixed subsidy test case.
2018-12-13 10:43:54 -08:00
Jianping Wu
7a994de062 First major changes to kevacoin text. 2018-12-13 10:43:53 -08:00
Jianping Wu
2c382b4dc0 Fixed test net genesis. 2018-12-13 10:43:53 -08:00
Jianping Wu
98234230d2 Added Base58 format checking for namespace. 2018-12-13 10:43:53 -08:00
Jianping Wu
348513dda6 Upgraded to Cryptonight V8. 2018-12-13 10:43:53 -08:00
Jianping Wu
c50e868e14 Began to use SEGWIT by default! 2018-12-13 10:43:53 -08:00
Jianping Wu
a93ded2feb Used kva instead of ltc.
Changed Base58 prefix for legacy (K), segwit (V) and secret key (M).
2018-12-13 10:43:53 -08:00
Jianping Wu
0a3cd4eccd Fixed consensus.nMinimumChainWork. 2018-12-13 10:43:53 -08:00
Jianping Wu
97b35682e0 WIP: main.cpp compiled. 2018-12-13 10:43:53 -08:00
Jianping Wu
7b6206d83a nSubsidyHalvingInterval from 840000 to 840000 * 4. 2018-12-13 10:43:53 -08:00
Jianping Wu
30e907bac6 Digishield difficulty adjustment.
Changed block time to 2 minutes.
2018-12-13 10:43:53 -08:00
Jianping Wu
b3a0506e4c Changed initial target. 2018-12-13 10:43:53 -08:00
Jianping Wu
d40f735500 Lowered difficulty for CN algorithm. 2018-12-13 10:43:53 -08:00
Jianping Wu
ec7aaa8b1f Fixed genesis block generation - GetPoWHash is scrypt hash, GetHash is SHA2 hash! 2018-12-13 10:43:52 -08:00
Jianping Wu
108ab19e27 WIP: changed pchMessageStart for test and regtest. 2018-12-13 10:43:52 -08:00
Jianping Wu
ddc94011a2 WIP: started working on genesis block. 2018-12-13 10:43:52 -08:00
Adrian Gallagher
ad3c330972
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-07-23 16:53:43 -07:00
Adrian Gallagher
67f7fbf9f5
Litecoin: Update default minimum chain work and default assume valid values 2018-06-17 18:57:43 -07:00
Luke Dashjr
18b0c69e2f
Bugfix: Include <memory> for std::unique_ptr
GitHub-Pull: #12859
Rebased-From: a5bca13
2018-06-13 16:07:44 +08:00
Adrian Gallagher
f1e1ab4ebc
Litecoin: Update bech32 HRP's 2018-03-15 15:57:25 -07:00
Adrian Gallagher
020b92fb75
Litecoin: Update chainparams and blockchain size 2018-03-15 15:25:40 -07:00
shaolinfry
cbf7b9c79d
Litecoin: Adjust chain parameters 2018-02-26 18:57:17 -08:00
Wladimir J. van der Laan
a8c344b913 Update chainTxData for 0.16
Another part of the release process.
2018-01-25 19:17:53 +01:00
Gregory Maxwell
bde8bcd8ad Update defaultAssumeValid according to release-process.md.
Updated for block 506067 (0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0).
2018-01-25 15:35:30 +00:00
Wladimir J. van der Laan
6e89de5ba7
Merge #11512: Use GetDesireableServiceFlags in seeds, dnsseeds, fixing static seed adding
2b839ab Update chainparams comment for more info on service bits per dnsseed (Matt Corallo)
62e7642 Fall back to oneshot for DNS Seeds which don't support filtering. (Matt Corallo)
51ae766 Use GetDesireableServiceFlags in static seeds, document this. (Matt Corallo)
fb6f6b1 bluematt's testnet-seed now supports x9 (and is just a static list) (Matt Corallo)

Pull request description:

  4440710 broke inserting entries into addrman from dnsseeds which
  did not support service bits, as well as static seeds. Static seeds
  were already being filtered by UA for 0.13.1+ (ie NODE_WITNESS), so
  simply changing the default service bits to include NODE_WITNESS
  (and updating docs appropriately) is sufficient. For DNS Seeds, not
  supporting NODE_WITNESS is no longer useful, so instead use
  non-filtering seeds as oneshot hosts irrespective of named proxy.

  I've set my testnet-seed to also support x9, though because it is simply a static host, it may be useful to leave the support off so that it is used as a oneshot to get addresses from a live node instead. I'm fine with either.

Tree-SHA512: 3f17d4d2b0b84d876981c962d2b44cb0c8f95f52c56a48c6b35fd882f6d7a40805f320ec452985a1c0b34aebddb1922709156c3ceccd1b9f8363fd7cb537d21d
2018-01-24 13:07:05 +01:00
Matt Corallo
2b839abd3e Update chainparams comment for more info on service bits per dnsseed 2018-01-19 12:41:28 -10:00
Matt Corallo
62e764219b Fall back to oneshot for DNS Seeds which don't support filtering.
This allows us to not have to update the chainparams whenever a
DNS Seed changes its filtering support, as well fixes a bug
introduced in 44407100f where returned nodes will never be
attempted.
2018-01-19 12:41:28 -10:00
Akira Takizawa
595a7bab23 Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
Matt Corallo
fb6f6b1519 bluematt's testnet-seed now supports x9 (and is just a static list) 2017-12-24 11:47:19 -05:00
Sjors Provoost
f455a24da7
[net] add seed.testnet.bitcoin.sprovoost.nl to testnet DNS seeds 2017-12-16 16:48:48 +01:00
Wladimir J. van der Laan
68e021e3a3
Merge #11558: Minimal code changes to allow msvc compilation
fbf327b Minimal code changes to allow msvc compilation. (Aaron Clauson)

Pull request description:

  These changes are required to allow the Bitcoin source to build with Microsoft's C++ compiler (#11562 is also required).

  I looked around for a better place for the typedef of ssize_t which is in random.h. The best candidate looks like src/compat.h but I figured including that header in random.h is a bigger change than the typedef. Note that the same typedef is in at least two other places including the OpenSSL and Berkeley DB headers so some of the Bitcoin code already picks it up.

Tree-SHA512: aa6cc6283015e08ab074641f9abdc116c4dc58574dc90f75e7a5af4cc82946d3052370e5cbe855fb6180c00f8dc66997d3724ff0412e4b7417e51b6602154825
2017-12-13 14:05:25 +01:00
MeshCollider
1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
-BEGIN VERIFY SCRIPT-
for f in \
  src/*.cpp \
  src/*.h \
  src/bench/*.cpp \
  src/bench/*.h \
  src/compat/*.cpp \
  src/compat/*.h \
  src/consensus/*.cpp \
  src/consensus/*.h \
  src/crypto/*.cpp \
  src/crypto/*.h \
  src/crypto/ctaes/*.h \
  src/policy/*.cpp \
  src/policy/*.h \
  src/primitives/*.cpp \
  src/primitives/*.h \
  src/qt/*.cpp \
  src/qt/*.h \
  src/qt/test/*.cpp \
  src/qt/test/*.h \
  src/rpc/*.cpp \
  src/rpc/*.h \
  src/script/*.cpp \
  src/script/*.h \
  src/support/*.cpp \
  src/support/*.h \
  src/support/allocators/*.h \
  src/test/*.cpp \
  src/test/*.h \
  src/wallet/*.cpp \
  src/wallet/*.h \
  src/wallet/test/*.cpp \
  src/wallet/test/*.h \
  src/zmq/*.cpp \
  src/zmq/*.h
do
  base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f
done
-END VERIFY SCRIPT-
2017-11-16 08:23:01 +13:00
Aaron Clauson
fbf327b138 Minimal code changes to allow msvc compilation. 2017-11-10 07:06:49 +11:00
Pieter Wuille
d618458184 Have SegWit active by default 2017-11-06 19:29:20 -08:00
John Newbery
18e071841e [consensus] Pin P2SH activation to block 173805 on mainnet 2017-11-06 19:09:12 -08:00
Anthony Towns
526023aa7a Improve handling of BIP9Deployment limits
Small tweaks by Pieter Wuille.
2017-11-06 19:09:05 -08:00
Andreas Schildbach
132d3225f3 Remove my testnet DNS seed as I currently don't have the capacity to keep it up to date. 2017-10-19 12:47:19 +02:00
Pieter Wuille
c091b99379 Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
Pieter Wuille
b1973d6181 Update chain transaction statistics 2017-08-03 16:39:58 -07:00
Gregory Maxwell
9a8b054185 Update defaultAssumeValid according to release-process.md.
Updated for block 477890.
2017-07-28 01:11:14 +00:00
Cory Fields
c1be285364 chainparams: make supported service bits option explicit 2017-06-22 15:21:22 -04:00
Cory Fields
6cdc488e36 net: switch to dummy internal ip for dns seed source
This addresss the TODO to avoid resolving twice.
2017-06-14 18:05:01 -04:00
practicalswift
3fb81a8480 Use list initialization (C++11) for maps/vectors instead of boost::assign::map_list_of/list_of 2017-06-06 21:29:16 +02:00
shaolinfry
29c07196d0
Rename -bip9params to -vbparams 2017-05-30 19:21:51 +02:00