Commit graph

26709 commits

Author SHA1 Message Date
Ross Nicoll 66d40c059a Remove default Signet 2021-06-02 10:37:16 +01:00
Ross Nicoll 3afaf906f1 Replace consensus values with Dogecoin equivalents
* Replace chain parameters with Dogecoin values
* Update maximum coins to match Dogecoin
* Disable version 2 block requirement
* Update coinbase maturity to match Dogecoin
2021-06-02 10:37:16 +01:00
fanquake 419f9b3b3b
Merge bitcoin/bitcoin#22022: Final backports for 0.21.2rc1
09620b89f5 Update Windows code signing certificate (Andrew Chow)
46320ba72f Remove user input from URI error message (unknown)
f2a88986a1 p2p, bugfix: use NetPermissions::HasFlag() in CConnman::Bind() (Jon Atack)

Pull request description:

ACKs for top commit:
  achow101:
    ACK 09620b89f5 Diffs match.
  hebasto:
    ACK 09620b89f5, tested https://github.com/bitcoin-core/gui/pull/280 behavior.
  fanquake:
    ACK 09620b89f5

Tree-SHA512: 1c4aaec42ea047261b5d30851bca605540eccf572708403335b38016127d3230b5380b3f5ef03921ed62192239b0d3da9787d51f557ed7911bf6bb2a7c172753
2021-05-31 15:31:31 +08:00
Malta Micael 0aa4d723e5
fix: reduce tests latency
Non-necessary long time sleep for sync_blocks and sync_mempools.
2021-05-30 22:54:55 -04:00
barrystyle aad77c6e3e crypto: Add scrypt N=1024 PoW
Add scrypt pow hashing algorithm as a proof of work function.
Rebased from litecoin-project/litecoin@02961f0 minus strencodings.h macros.
2021-05-30 22:54:48 +01:00
shaolinfry 202871da44 Litecoin: Add scrypt N=1024 PoW 2021-05-30 22:54:48 +01:00
Ross Nicoll 13502573a1
Merge pull request #2210 from rnicoll/1.21-block-subsidy
Introduce Dogecoin block subsidy calculations
2021-05-30 22:54:06 +01:00
Ross Nicoll 4fea2ce468
Add Dogecoin block subsidies 2021-05-30 22:12:51 +01:00
Marco 82ec66721f Articols matter in Italian 2021-05-30 17:22:29 +01:00
Patrick Lodder 4fc6d6360a
Merge pull request #1977 from rnicoll/1.21-difficulty
Introduce Dogecoin difficulty calculations
2021-05-29 21:15:48 +02:00
Ross Nicoll 184b2ab708
Merge pull request #1989 from rnicoll/1.21-port-numbers
1.21 Update port numbers
2021-05-29 19:48:59 +01:00
Ross Nicoll 95eac27557
Update port numbers 2021-05-29 19:04:36 +01:00
Patrick Lodder 66ddfafa05
Merge pull request #2204 from rnicoll/1.21-forks
Replace feature enablement blocks
2021-05-29 19:16:40 +02:00
Ross Nicoll 578ab10ef8
Merge pull request #2203 from rnicoll/1.21-minwork
1.21 Update min chain work and assume valid
2021-05-29 18:03:44 +01:00
Ross Nicoll 8451222db4
Replace feature enablement blocks
Replace block hash/heights when features are enabled.
2021-05-29 01:16:41 +01:00
Ross Nicoll c4e9eb99e0
Update min chain work and assume valid
Update minimum chain work and block hash to assume preceeding blocks are valid, for main and test networks.
2021-05-29 00:57:28 +01:00
Ross Nicoll 53068fb220
Introduce Dogecoin difficulty calculations 2021-05-29 00:48:49 +01:00
Patrick Lodder 86e051cf97
Merge pull request #1988 from rnicoll/1.21-message-headers
Switch to Dogecoin message header
2021-05-28 20:25:04 +02:00
Patrick Lodder bfdcbbac8f
Merge pull request #2198 from rnicoll/1.21-disable-segwit-csv
Disable CSV and SegWit on Dogecoin
2021-05-28 20:24:30 +02:00
Patrick Lodder d6e465827d
Merge pull request #1990 from rnicoll/1.21-checkpoints
Replace checkpoints with Dogecoin chains
2021-05-28 20:22:03 +02:00
Patrick Lodder 1247306ef2
Merge pull request #1987 from rnicoll/1.21-fixed-seeds
Port fixed seeds from 1.14.3
2021-05-28 20:13:31 +02:00
Ross Nicoll f865c39ea1
Disable CSV and SegWit on Dogecoin 2021-05-28 00:15:50 +01:00
Patrick Lodder 850b93d24e
Merge pull request #2154 from rnicoll/1.21-depends-qt
depends: update Qt 5.9 source url
2021-05-27 04:46:49 +02:00
Kittywhiskers Van Gogh fdf7b7164e depends: update Qt 5.9 source url 2021-05-26 14:59:53 +01:00
Ross Nicoll 8d51336bff Add testnet checkpoints 2021-05-25 23:29:55 +01:00
Ross Nicoll a582581922 Add live checkpoints 2021-05-25 23:29:55 +01:00
Ross Nicoll 0273b59a53 Switch to Dogecoin message header
Update main and testnet3 message headers. Note Dogecoin historically has used Bitcoin message headers for RegTest network, and this continues that legacy.
2021-05-25 23:28:23 +01:00
Ross Nicoll 236c15d281 Replace Bitcoin seed nodes with Dogecoin nodes 2021-05-25 23:27:56 +01:00
Ross Nicoll 1fbfe609b3
Merge pull request #2115 from rnicoll/1.21-travis-extend-timeout
Sync nodes before maturing blocks in bumpfee
2021-05-25 23:27:08 +01:00
Ross Nicoll 100bd6e551 Sync nodes before maturing blocks in bumpfee 2021-05-25 17:17:14 +01:00
Andrew Chow 09620b89f5 Update Windows code signing certificate
Github-Pull: bitcoin/bitcoin#22017
Rebased-From: 167fb1fc72e309587a8ef1d7844cb51a5483f54f
2021-05-22 10:45:21 +02:00
unknown 46320ba72f Remove user input from URI error message
+ Detailed error messages for invalid address
+ Used `IsValidDestination` instead of `IsValidDestinationString`
+ Referred to https://github.com/bitcoin/bitcoin/pull/20832 for solution

Github-Pull: bitcoin-core/gui#280
Rebased-From: 3bad0b3fada9ab7c5b03d31dc33d72654c1ba2be
2021-05-22 10:45:20 +02:00
Jon Atack f2a88986a1 p2p, bugfix: use NetPermissions::HasFlag() in CConnman::Bind()
PF_NOBAN is a multi-flag that includes PF_DOWNLOAD, so the conditional
in CConnman::Bind() using a bitwise AND will return the same result
for both the "noban" status and the "download" status.

Example:

`PF_DOWNLOAD` is `0b1000000`
`PF_NOBAN`    is `0b1010000`

This makes a check like `flags & PF_NOBAN` return `true` even if `flags`
is equal to `PF_DOWNLOAD`.

If `-whitebind=download@1.1.1.1:8765` is specified, then `1.1.1.1:8765`
should be added to the list of local addresses. We only want to avoid
adding to local addresses (that are advertised) a whitebind that has a
`noban@` flag.

As a result of a mis-check in `CConnman::Bind()` we would not have added
`1.1.1.1:8765` to the local addresses in the example above.

Co-authored-by: Vasil Dimov <vd@FreeBSD.org>

Github-Pull: bitcoin/bitcoin#21644
Rebased-From: dde69f20a01acca64ac21cb13993c6e4f8709f23
2021-05-22 09:58:26 +02:00
Patrick Lodder 2797a581aa
Merge pull request #1979 from rnicoll/1.21-difficulty-pre-digishield
Difficulty, pre-Digishield.
2021-05-21 23:45:31 +02:00
Ross Nicoll 3f5612b33a Update SigNet PoW limit to Scrypt value 2021-05-20 23:23:59 +01:00
coblee a3e518670c Litecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis. 2021-05-20 20:50:57 +01:00
Patrick Lodder acca0f3a87
Merge pull request #1927 from rnicoll/1.21-max-money
Update max money to 10 billion
2021-05-20 20:46:53 +02:00
Ross Nicoll af03439668 Update max money to 10 billion
Update maximum money to 10 billion coins (most you can have in a single transaction).
2021-05-20 18:01:37 +01:00
Ross Nicoll 045f8c4286
Merge pull request #1780 from rnicoll/1.21-block-interval
1.21 Block interval and maturity window
2021-05-20 16:59:45 +01:00
Ross Nicoll 4a7cb45aa7 Make assume valid minimum interval per-chain configurable
Make assume valid minimum interval per-chain configurable as syncing 21,000 blocks in a regression test isn't an achievable goal.
2021-05-20 12:02:35 +01:00
Ross Nicoll 878c07a847 Change regtest block interval to match Dogecoin
Change regtest block interval to match Dogecoin mainnet. Note this differs from 1.14, which used special regtest values, however regtest should by default match mainnet and the server time is adjusted to make it feasible to mine blocks quickly.
2021-05-20 12:02:35 +01:00
Ross Nicoll 3f8289a113 Dogecoin: Update coinbase maturity
* Change coinbase maturity to 240 blocks in most cases, with main/test early chains allowing 30 blocks. I've kept the 240 consistent in regtest to avoid having to redesign a lot of the test cases.
* Disabled mining unit test which require COINBASE_MATURITY worth of pre-calculated blocks, as we'd otherwise be constantly refactoring them.
* Moved functional test which uses the Bitcoin testnet block data as its reference, as it completely breaks as we introduce Dogecoin data.
* Updated standard blockchains for tests from 100/200 to 240/480 as appropriate.
2021-05-20 12:02:35 +01:00
Ross Nicoll 0817a1bced Update miner confirmation window
* Update miner confirmation window to 240 for Dogecoin main net, and update related values.
* Re-enable PoW tests with Dogecoin values.
* Update version bit tests based on Dogecoin mining values.
2021-05-20 12:02:35 +01:00
Ross Nicoll e29e13aae8
Adjust download timeouts to handle shorter block interval (#1866) 2021-05-17 13:15:46 +01:00
W. J. van der Laan 58c0742632
Merge bitcoin/bitcoin#21932: [0.21] depends: update Qt 5.9 source url
deff4e763e depends: update Qt 5.9 source url (Kittywhiskers Van Gogh)

Pull request description:

  ## Expected Behavior

  Running `make` in the depends directory should result in the successful building of host platform dependencies

  ## Actual Behavior

  `make` terminates as `qt.mk` points to (now) outdated URL path for Qt 5.9 sources, returning error 404

  ## Remedy

  Update `qt.mk` to point to updated source location as Qt has relocated them

ACKs for top commit:
  RandyMcMillan:
    tACK deff4e7
  hebasto:
    ACK deff4e763e, I have verified the new link, and checked that old one is unavailable:
  jarolrod:
    tACK deff4e763e

Tree-SHA512: d5b11a678c871a87e6884a35641178ee349728ead51da06018953be36aab5a30aef9c80b549da49802e87903eb0b7836cc343301325bd8c505cb4246f6752505
2021-05-13 13:43:35 +02:00
Kittywhiskers Van Gogh deff4e763e
depends: update Qt 5.9 source url 2021-05-12 22:35:32 +05:30
W. J. van der Laan 8584a4460d
doc: Archive and clean out release notes post-0.21.1
Tree-SHA512: 0ae93cb9dae1449318913a7a6f32c233aefddf77335dc1ad416e84beab39ab45cd863073ddc69a243bbb704951d99646f734717f71d9599a54592699f15d84ab
2021-05-05 16:18:38 +02:00
MarcoFalke bbd89d23b3
Merge bitcoin/bitcoin#21860: [0.21] Backport update to Boost download URL
856de5bd5e build,boost: update download url. (fdov)

Pull request description:

  Backports #21662 to the 0.21 branch. Boost has migrated it's download URLs due to bintrays imminent closure. The Boost site has also been updated to point to the new URLs. i.e: https://www.boost.org/users/history/version_1_70_0.html.

  Github-Pull: #21662
  Rebased-From: 36c10b9f4b181db6afa2f8cb7d4872b158768c16

ACKs for top commit:
  jarolrod:
    ACK 856de5bd5e

Tree-SHA512: cae7262f963dd6e00af699c3e1bce2ee3ff9f76c5dcc24c8a5bf37025b53de28e4cb80de65a380208ee1841a89736d5c35605e40b728b6c7a9f026d8165d74c8
2021-05-05 08:54:13 +02:00
fdov 856de5bd5e
build,boost: update download url.
- bintray is closing.
    - updated to jfrog.io.

Github-Pull: #21662
Rebased-From: 36c10b9f4b181db6afa2f8cb7d4872b158768c16
2021-05-05 09:41:09 +08:00
W. J. van der Laan 194b9b8792
build: Bump RC to 0 (-final)
Tree-SHA512: b63d8c2514fa34d4503da8a37fb42948e03610e06dae6aaef7ba3d2568efd3bb138e7510da569a49d83c2618fa697ba949d55880fc2884a75a87028259d7c544
2021-04-29 21:31:20 +02:00