Commit Graph

35528 Commits

Author SHA1 Message Date
nandhh
bcd6383f3b feat: enable OP_CAT in tapscript 2024-08-13 13:17:11 +08:00
nandhh
539f991ece feat: reset chain v6 2024-08-13 13:17:11 +08:00
nandhh
b6007b59c0 feat: save nSizeAuxPow after blockSize in file 2024-08-13 13:17:11 +08:00
nandhh
37bf822b88 fix: separate two different types of block in pow 2024-08-13 13:17:11 +08:00
nandhh
281911c2de feat: larger limit for tx relay 2024-08-13 13:17:11 +08:00
nandhh
1140246b3a feat: init diff for merged mining 2024-08-13 13:17:11 +08:00
nandhh
61f55b6474 feat: remove signet 2024-08-13 13:17:11 +08:00
nandhh
bc7eb0e844 feat: change block/network magic number 2024-08-13 13:17:10 +08:00
nandhh
5cec75f2a1 feat: 10x times longer block download timeout 2024-08-13 13:17:10 +08:00
nandhh
56d9fa6dca fix: set auxpow block version by chainid 2024-08-13 13:17:10 +08:00
nandhh
be8a325252 feat: 2 types of timespan for ASERT 2024-08-13 13:17:10 +08:00
nandhh
dfa35b361e feat: not fix merged mining by height 2024-08-13 13:17:10 +08:00
nandhh
b89795ac79 feat: support ASERT 2024-08-13 13:17:10 +08:00
nandhh
20b8a3be3b feat: set chainid / block cycle 2024-08-13 13:17:10 +08:00
nandhh
8eb2df3ff3 fix: test GetBlockHash 2024-08-13 13:17:10 +08:00
nandhh
75d8c8cfe6 fix: test validate block 2024-08-13 13:17:10 +08:00
nandhh
d838275b84 fix: test BlockMerkleBranch 2024-08-13 13:17:10 +08:00
nandhh
06f05eb0b1 feat: getblock/getblockheader default without auxpow data 2024-08-13 13:17:10 +08:00
nandhh
35e458e2b1 fix: rpc/blockchain 2024-08-13 13:17:10 +08:00
nandhh
3a677f2776 kill size assert 2024-08-13 13:17:10 +08:00
nandhh
16750fbf27 fix: enable SIZE_HEADERS_LIMIT_VERSION 2024-08-13 13:17:10 +08:00
nandhh
fd5339710f fix: getblockheader param 2024-08-13 13:17:10 +08:00
nandhh
e778c1e2b8 fix: read blockheader from disk 2024-08-13 13:17:10 +08:00
nandhh
2db36467a7 feat: add merge mining 2024-08-13 13:17:10 +08:00
nandhh
dcce6eb0cf feat: tokenomics 2024-08-13 13:17:10 +08:00
nandhh
5cfad955d5 feat: 25 coin subsidy 2024-08-13 13:17:10 +08:00
nandhh
bfa5e35137 feat: HalvingInterval 2100000 2024-08-13 13:17:10 +08:00
nandhh
c834c7dbf9 fix: force checkpoint 2024-08-13 13:17:10 +08:00
nandhh
91b7760dd9 feat: init checkpoint 2024-08-13 13:17:10 +08:00
nandhh
cd62b41e14 feat: 1 block per 30 seconds; change pow target per day 2024-08-13 13:17:10 +08:00
nandhh
75d3c2dbee feat: init mini work 2024-08-13 13:17:10 +08:00
nandhh
018fb68894 feat: fMiningRequiresPeers default true 2024-08-13 13:17:10 +08:00
nandhh
37fb649712 feat: allow standalone mint 2024-08-13 13:17:10 +08:00
nandhh
506c4e08c4 feat: add dnsseed 2024-08-13 13:17:10 +08:00
nandhh
00264aca50 feat: no dnsseed 2024-08-13 13:17:10 +08:00
nandhh
f559d001a4 feat: enable all bip at height 1 2024-08-13 11:57:26 +08:00
nandhh
8bf68150a1 feat: rpc to remove tx from mempool 2024-08-13 11:57:24 +08:00
nandhh
4202ffce28 feat: new rpc to get all rawtxs from mempool 2024-08-13 11:57:18 +08:00
nandhh
b8a4b1e115 feat: disable block zmq msg 2024-08-13 11:56:01 +08:00
MarcoFalke
b3f866a8df
Merge bitcoin/bitcoin#26647: 24.0.1 final changes
a9ea715835 doc: adjust release notes for 24.0.1 (fanquake)
c119b0a176 doc: generate manual pages for 24.0.1 final (fanquake)
1b19c894a2 build: bump version to 24.0.1 final (fanquake)

Pull request description:

  Changes for 24.0.1.

  At this stage, I don't think an rc is necessary here, and would just add another 5-x days delay to fixing these issues.

  This will be accompanied by a pull request to master to add a note in the 24.0.md that already exists there. Similar to what was done with 0.19.0.1.

ACKs for top commit:
  gruve-p:
    ACK a9ea715835
  instagibbs:
    ACK a9ea715835
  hebasto:
    ACK a9ea715835, I have reviewed the changes and they look OK.
  josibake:
    ACK a9ea715835
  w0xlt:
    ACK a9ea715835

Tree-SHA512: 2e0d81ef91d947c9d55dcadcb6168fbb5251a5e613642c6250075add6a4f14f54cbb452934fa46aec035decb339e611fe721f5e9d9156e47a0341c3be26f5aa9
2022-12-06 16:54:10 +01:00
fanquake
a9ea715835
doc: adjust release notes for 24.0.1
This will be accompianied by a change to release-notes-24.0.md on
master.
2022-12-06 12:39:24 +00:00
fanquake
c119b0a176
doc: generate manual pages for 24.0.1 final 2022-12-06 12:23:26 +00:00
fanquake
1b19c894a2
build: bump version to 24.0.1 final 2022-12-06 12:13:42 +00:00
MarcoFalke
3afbc7d67d
Merge bitcoin/bitcoin#26616: [24.x] Backports for 24.0.1
8b726bf556 test: Coin Selection, duplicated preset inputs selection (furszy)
9d73176d00 test: wallet, coverage for CoinsResult::Erase function (furszy)
195f0dfd0e wallet: bugfix, 'CoinsResult::Erase' is erasing only one output of the set (furszy)
e5d097b639 [test] Add p2p_tx_privacy.py (dergoegge)
c8426706de [net processing] Assume that TxRelay::m_tx_inventory_to_send is empty pre-verack (dergoegge)
e15b306017 [net processing] Ensure transaction announcements are only queued for fully connected peers (dergoegge)
95fded1069 wallet: Explicitly say migratewallet on encrypted wallets is unsupported (Andrew Chow)
d464b2af30 tests: Test for migrating encrypted wallets (Andrew Chow)
7a97a56ffb wallet: Avoid null pointer deref when cleaning up migratewallet (Andrew Chow)

Pull request description:

  Backports remaining changes on the 24.0.1 milestone.

  Currently backports:
  * https://github.com/bitcoin/bitcoin/pull/26594
  * https://github.com/bitcoin/bitcoin/pull/26569
  * https://github.com/bitcoin/bitcoin/pull/26560

ACKs for top commit:
  josibake:
    ACK 8b726bf556

Tree-SHA512: db77ec1a63a7b6a4412750a0f4c0645681fc346a5df0a7cd38d5d27384e1d0fa95f3953af90042afe131ddbd4b6a6e009527095f13e9f58c0190cd378738a9e5
2022-12-06 12:35:55 +01:00
furszy
8b726bf556
test: Coin Selection, duplicated preset inputs selection
This exercises the bug inside CoinsResult::Erase that
ends up on (1) a wallet crash or (2) a created and
broadcasted tx that contains a reduced recipient's amount.

This is covered by making the wallet selects the preset
inputs twice during the coin selection process.

Making the wallet think that the selection process result covers
the entire tx target when it does not. It's actually creating
a tx that sends more coins than what inputs are covering for.

Which, combined with the SFFO option, makes the wallet
incorrectly reduce the recipient's amount by the difference
between the original target and the wrongly counted inputs.
Which means, a created and relayed tx sending less coins to
the destination than what the user inputted.

Github-Pull: #26560
Rebased-From: cf79384697
2022-12-05 17:43:46 +00:00
furszy
9d73176d00
test: wallet, coverage for CoinsResult::Erase function
Github-Pull: #26560
Rebased-From: 341ba7ffd8
2022-12-05 17:43:31 +00:00
furszy
195f0dfd0e
wallet: bugfix, 'CoinsResult::Erase' is erasing only one output of the set
The loop break shouldn't have being there.

Github-Pull: #26560
Rebased-From: f930aefff9
2022-12-05 17:40:54 +00:00
dergoegge
e5d097b639
[test] Add p2p_tx_privacy.py
Github-Pull: #26569
Rebased-From: 8f2dac5409
2022-12-02 16:04:27 +00:00
dergoegge
c8426706de
[net processing] Assume that TxRelay::m_tx_inventory_to_send is empty pre-verack
This commit documents our assumption about
TxRelay::m_tx_inventory_to_send being empty prior to version handshake
completion.

The added Assume acts as testing oracle for our fuzzing tests to
potentially detect if the assumption is violated.

Github-Pull: #26569
Rebased-From: ce63fca13e
2022-12-02 16:04:13 +00:00
dergoegge
e15b306017
[net processing] Ensure transaction announcements are only queued for fully connected peers
Github-Pull: #26569
Rebased-From: 845e3a34c4
2022-12-02 15:58:24 +00:00