Commit graph

25154 commits

Author SHA1 Message Date
Pablo Greco
f4a1b43c48 Continue receiving data for the current messages, even when we select to send
(cherry picked from commit cd306bf8d3)
2025-01-07 06:36:13 -08:00
Jeff Frontz
ba24915e56
Merge pull request #1379 from psgreco/elem-23.2.5-rc1
Prepare 23.2.5 rc1
2024-12-19 09:26:21 -05:00
Pablo Greco
081e12150f Merge branch 'master' into elem-23.2.5-rc1 2024-12-17 08:35:30 -08:00
Pablo Greco
f138566ad3 Wallet: avoid scanning after the last known block 2024-12-17 05:35:31 -08:00
Pablo Greco
5de39247e6 Update help text for "acceptdiscountct" 2024-11-18 05:00:12 -08:00
Pablo Greco
22cc8dfe34 Accept by default discountct in liquidv1 2024-11-18 05:00:12 -08:00
Pablo Greco
1e8a7cb103 Merge branch 'master' into elem-23.2.5-rc1 2024-11-18 04:48:43 -08:00
Pablo Greco
7398cfae87 Use LBTC instead of L-BTC in QT 2024-11-04 05:54:22 -08:00
Andrew Poelstra
57ab101352
simplicity: copy activation threshold/period from taproot
Copy the parameters for mainnet because they seem to have worked fine
for Taproot and are therefore a good starting point for Simplicity.
Copy them for regtest so that we can also copy the functional test for
activation, without needing to change a whole bunch of numbers.
2024-10-08 14:41:40 +00:00
Andrew Poelstra
2532c4a6c4
rpc: add simplicity to getdeploymentinfo 2024-10-08 14:41:39 +00:00
Andrew Poelstra
3621e7adc0
liquid testnet: enable simplicity at all times
This will effectively activate Simplicity as soon as the sole Liquid
Testnet signer is updated.
2024-10-08 14:41:39 +00:00
Andrew Poelstra
850b82095c
disable simplicity on regtest
We want to test Simplicity activation using evbparams.
2024-10-08 14:41:39 +00:00
Andrew Poelstra
2f2f3aac1e
link: add simplicity to bitcoin-chainstate binary 2024-10-08 13:03:02 +00:00
Christian Lewe
508836028e Asset tests: Check script error
Compare the expected script error, parsed from JSON, with the actual
error that VerifyScript returns. If the JSON does not include an
expected error, then skip this check.
2024-10-07 14:39:10 -04:00
Russell O'Connor
4ca2411795 Asset tests: Parse Elements script errors
Take the existing function to parse script errors and extend it to parse
Elements errors. SCRIPT_ERR_ERROR_COUNT is not included because it is a
pseudo error.
2024-10-07 14:39:10 -04:00
Russell O'Connor
bcd508f409 Add Simplicity Deployment structure 2024-10-07 14:39:10 -04:00
Russell O'Connor
1698454c2a Add Simplicity verification
Unactivated.
2024-10-07 14:39:09 -04:00
Russell O'Connor
96fb8f5d15 Store hash_genesis_block in PrecomputedTransactionData.
This will be used by Simplicity.
2024-10-07 14:39:09 -04:00
Russell O'Connor
28553fdf67 Add Simplicity to the build system. 2024-10-07 14:39:09 -04:00
Russell O'Connor
8760cdd7be Merge commit 'f502c24196' as 'src/simplicity' 2024-10-07 14:38:29 -04:00
Russell O'Connor
52b92b8213 Cherry-pick <https://github.com/bitcoin/bitcoin/pull/27122>
Simplicity needs this fix.
2024-10-07 14:38:13 -04:00
Pablo Greco
00ddf91c31 Merge branch 'master' into elem-23.2.4-rc1 2024-09-25 09:37:34 -07:00
Byron Hambly
09c5068ab1
discount: fix weight calculation
Thanks to Jon Griffiths for picking up that the amount and nonce discount
should be multiplied by the witness scaling factor as they form part of
the base transaction.
2024-09-25 15:18:38 +02:00
Byron Hambly
d0f714638a
feat: add discountweight to TxToUniv 2024-09-20 14:39:13 +02:00
Pablo Greco
49549ab42b Merge branch 'master' into elem-23.2.3-rc2 2024-09-09 09:44:04 -07:00
Byron Hambly
f107021869
fix: discountct package mining 2024-09-09 12:03:33 +02:00
Pablo Greco
6ef35aca7b Merge branch 'master' into elem-23.2.3-rc1 2024-08-23 08:16:31 -07:00
Pablo Greco
5c04f7d9a0 Accept discount-ct by default in liquidtestnet 2024-08-19 08:29:18 -07:00
James Dorfman
639715df61
Merge pull request #1356 from delta1/discountct-blockmintxfee
fix: use discountvsize in miner if discount enabled
2024-08-19 11:27:01 -04:00
Byron Hambly
b0d6cde2d0
fix: use discountvsize in miner if discount enabled 2024-08-16 12:35:04 +02:00
Byron Hambly
c1bc7caff5
fix: size estimation for pegin transactions 2024-08-14 15:41:29 +02:00
Pablo Greco
b032722e30 Merge branch 'master' into elements-23.2.2-final 2024-07-24 06:28:07 -07:00
Byron Hambly
fdf3d1eab1
discount: update init doc for acceptdiscountct 2024-07-24 09:35:03 +02:00
Byron Hambly
47d6c34382
discount: fix override for creatediscountct 2024-07-24 09:34:16 +02:00
jhfrontz
9853992fd2 Ensure that arm-macos environments have sufficient QT thread stack 2024-07-17 17:32:24 -04:00
James Dorfman
c5e8a2be77
Merge pull request #1337 from ElementsProject/master
elements-23.x: merge master to prep release
2024-06-14 11:14:47 -04:00
Byron Hambly
eed85dc5df
getblockchaininfo: add trim_headers field 2024-06-05 11:21:16 +02:00
James Dorfman
46a3ee29bc improve efficiency by gating locks with 2024-05-27 09:25:31 +00:00
James Dorfman
b4185c7008 CI: fix asan lock issues 2024-05-21 16:56:01 +00:00
James Dorfman
c6aba4ac06 CI: fix integer underflow bug 2024-05-21 16:56:01 +00:00
James Dorfman
73ed5dd541 CI: fix benchmark + QT tests by properly initializing CBlockIndex by calling SetNodeContext 2024-05-21 16:54:52 +00:00
James Dorfman
90e5bab636 CI: fix msan issue 2024-05-21 05:34:30 +00:00
Pablo Greco
5a409265ef Extreme trimming on startup 2024-05-21 05:34:30 +00:00
Pablo Greco
6367320f70 Restore NODE_NETWORK functionality with trim_headers 2024-05-21 05:34:30 +00:00
Pablo Greco
1722d4aac1 Reduce the number of untrimmed headers in memory, since they can be untrimmed on demand now 2024-05-21 05:34:30 +00:00
Pablo Greco
c28c5ce619 Allow untrimming headers when needed 2024-05-21 05:34:30 +00:00
Pablo Greco
4259278ff5 Reload trimmed header from index instead of block, block may have been pruned 2024-05-21 05:34:30 +00:00
Pablo Greco
afc16e8f84 Allow gaps while trimming headers 2024-05-21 05:34:30 +00:00
Pablo Greco
f89728c514 Validate trimmed headers too while loading 2024-05-21 05:34:30 +00:00
Pablo Greco
d8e1fe7fac Avoid trimming on shutdown 2024-05-21 05:34:30 +00:00