Commit Graph

31726 Commits

Author SHA1 Message Date
jahway603
6133c1669c Updated Debian package changelog 2024-09-30 09:24:34 -04:00
Duke
67fe111050 Mention wolfssl change in relnotes 2024-09-30 04:36:21 -07:00
onryo
9f31214812 Add notes to 3.10.3 2024-09-29 02:44:50 +02:00
duke
9f11b437f3 Merge pull request 'Fix fatal error and the version flag option warning when compiling for windows on dev' (#425) from onryo into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/425
2024-09-28 14:56:46 +02:00
duke
dd9722470d Merge pull request 'OP_RETURN fees' (#429) from opretfees into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/429
2024-09-28 13:34:19 +02:00
onryo
be5a78931b Fix fatal error when compiling for windows on dev 2024-09-27 22:40:46 +02:00
onryo
e68795f4f9 Revert "Fix fatal error and the version flag option when compiling for windows"
This reverts commit f144f8a0b9.
2024-09-27 22:39:32 +02:00
Duke
47cc49bcc5 Change OP_RETURN fee requirements
This commit removes the CLI option -opretmintxfee, makes it always
enabled, changes the required fee rate and changes which OP_RETURNS
get "amnesty" and do not need to pay this fee rate.
2024-09-27 09:09:31 -04:00
Duke
93f6514d86 Disable absurd fee checks when adding to the mempool
To protect users who are not using opreturn we prevent any use of z_sendmany
with absurd fees if opreturn is not being used, so this change only affects
users who are adding opreturn data. Since there is no way to currently send
opreturn data via a GUI this still protects all GUI users from absurd fees
while allowing CLI users to decide to use higher fees.
2024-09-26 11:13:07 -04:00
jahway603
13f6a3d432 Merge pull request 'Updated doc/release-process.md to resolve Issue #407' (#428) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/428
2024-09-26 17:08:55 +02:00
jahway603
7cb86b8aa6 Updated doc/release-process.md to resolve Issue #407 2024-09-26 11:06:29 -04:00
jahway603
7be46396ab Merge pull request 'Added build.sh checks for as and ld to be installed' (#427) from build.sh_changes into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/427
2024-09-26 16:42:23 +02:00
jahway603
8333810f0f Added build.sh checks for as and ld to be installed 2024-09-26 10:39:28 -04:00
jahway603
ec07eb04fc Merge pull request 'updated Debian package copyright to resolve Issue #134' (#426) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/426
2024-09-26 16:23:28 +02:00
jahway603
c245242e0f updated Debian package copyright to resolve Issue #134 2024-09-26 10:21:20 -04:00
onryo
f144f8a0b9 Fix fatal error and the version flag option when compiling for windows 2024-09-26 05:04:55 +02:00
onryo
4538bf9e1e Add agorax.is 2024-09-20 21:13:54 +02:00
onryo
183cd81cf6 Small fix in README
OLD_WALLETS.md will be in the correct path once dev is merged into master, changing it to master now to prevent users reading docs from the dev branch
2024-09-20 20:50:51 +02:00
Duke
a53d8baeda Do not lock cs_main in mining code
Technically we should take this lock but it has never been there before
and it leads to potentially large slow downs when mining with multiple cores.
We see basically the same hashrate for a single core if we have the lock or
not and that makes sense, since there is only one core, there are no other
mining threads that have to wait. But on one particular CPU I saw a 6% slower
hashing when mining with 2 threads and 35% slower with 3 threads.

This change also means debug builds will coredump if mining is enabled.
2024-09-20 13:41:51 -04:00
Duke
d471af9ef5 IsPegsImport() is always false
Since this function always returns false and is used in many "hot"
code paths, removing it from the code should give us a performance boost.
2024-09-18 12:13:37 -04:00
Duke
ffce5edda3 Remove commented out code 2024-09-18 11:59:00 -04:00
Duke
5e30079fcd IsPegsImport() always returns false 2024-09-18 11:53:40 -04:00
Duke
160802cddf Update relnotes 2024-09-18 11:48:52 -04:00
Duke
fcc5c17628 Bump protocol version and client version 2024-09-18 10:59:37 -04:00
Duke
d915fc38b7 Add some useful comments to the wolfssl package 2024-09-18 10:53:28 -04:00
Duke
adbd47980c Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev 2024-09-18 10:50:42 -04:00
duke
c567096aae Merge pull request 'wolfssl downgrade to 4.8.1' (#422) from wolfssldowngrade into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/422
2024-09-18 16:48:29 +02:00
Duke
27f72405b2 Also print address to stderr in hush_isnotaryvout 2024-09-17 13:11:11 -04:00
Duke
bd967b7ac6 Exit out of TLSManager::waitFor() loop if shutdown requested 2024-09-17 11:30:01 -04:00
onryo
6feea4cfd2 wolfssl downgrade to 4.8.1 test 2024-09-17 09:25:58 +00:00
duke
49f303d804 Merge pull request 'Sync duke branch to dev' (#420) from duke into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/420
2024-09-16 17:31:37 +02:00
Duke
3f50dd988a Only use -rdynamic on debug builds 2024-09-16 11:26:28 -04:00
Duke
bc20629b9f Revert "Fix memory DoS"
This reverts commit 84377caae7.
2024-09-16 11:18:16 -04:00
Duke
fc5b0f38bd Revert "Memory DoS fixes"
This reverts commit 6a5f0eafde.
2024-09-16 11:17:56 -04:00
Duke
c5eeb74807 Simplify MAX_BLOCK_SIZE
Our code requires sapling activation at height 1 so we can simplify this function
which should lead to some performance improvements since it is called from many
places, including mining code.
2024-09-16 11:06:31 -04:00
fekt
6a5f0eafde Memory DoS fixes 2024-09-15 01:20:06 -04:00
Duke
912942f2a8 Delete more CC stuff 2024-09-13 18:50:28 -04:00
Duke
4f4a72da8e Go back to taking both main+wallet lock in DecrementWitnesses
By taking a wallet lock first and then main later we run into
a potential deadlock :

2024-09-13 11:14:37 POTENTIAL DEADLOCK DETECTED
2024-09-13 11:14:37 Previous lock order was:
2024-09-13 11:14:37  (1) cs_wallet  wallet/wallet.cpp:985
2024-09-13 11:14:37  (2) cs_main  wallet/wallet.cpp:890
2024-09-13 11:14:37 Current lock order is:
2024-09-13 11:14:37  (2) cs_main  wallet/wallet.cpp:2845
2024-09-13 11:14:37  (1) cs_wallet  wallet/wallet.cpp:2845
2024-09-13 09:34:10 -04:00
Duke
f5cae3b403 getinfo rpc needs a cs_wallet lock
Without it we get an AssertLockHeld when calling GetKeyPoolSize .
We could probably make this lock apply to less code, possibly only
the single line that calls GetKeyPoolSize() needs it.
2024-09-13 04:37:48 -04:00
Duke
6845fcd93a This rpc can only be used on non z2z chains 2024-09-13 04:22:28 -04:00
Duke
be3641158a Only take cs_main lock in GetSaplingSpendDepth
We do not seem to need this lock for the entire DecrementNoteWitnesses function,
we need it only when calling GetSaplingSpendDepth. Also protects against
the case in the future where some code without cs_main calls GetSaplingSpendDepth.
2024-09-13 04:11:38 -04:00
Duke
72c530d281 SMART_CHAIN_SYMBOL is always defined 2024-09-13 03:50:07 -04:00
fekt
84377caae7 Fix memory DoS 2024-09-13 04:22:08 +00:00
Duke
7e486538c9 SMART_CHAIN_SYMBOL is always set, so we can remove these checks 2024-09-12 20:12:26 -04:00
Duke
215d0b7db4 Remove commented out code 2024-09-12 20:02:10 -04:00
Duke
8b0c0493ac Ensure cs_main lock is held when TestBlockValidity() is called 2024-09-12 19:47:42 -04:00
Duke
04165e161a Explain more details about the burn address 2024-09-12 13:40:30 -04:00
onryo
d3cfecc425 Revert "Add burn address to the notary list"
This reverts commit 4fcb3e6ed5.
2024-09-12 19:28:30 +02:00
onryo
25dc60e6b5 Revert "Add season 8"
This reverts commit e104a33f2a.
2024-09-12 19:26:51 +02:00
Duke
f8e7df37a1 Delete commented out code 2024-09-12 12:12:59 -04:00