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
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
Duke
f8e7df37a1
Delete commented out code
2024-09-12 12:12:59 -04:00
Duke
7f9878cf0c
Take a lock on cs_main in DecrementNoteWitnesses
...
Another possibly better approach would be to take a lock inside
GetSaplingSpendDepth since we want the lock to apply to as little
code as possible and it is GetSaplingSpendDepth that calls GetDepthInMainChain
which requires a cs_main lock .
2024-09-12 11:47:58 -04:00
Duke
aab240e3b3
Temporary change to add -rdynamic to build flags
...
This allows us to see function names in a backtrace when AssertLockHeld
gives us an assert, which is helping to debug our deadlock bug.
This code should be improved to only do this for debug builds.
2024-09-12 11:21:46 -04:00
Duke
ed86f2dd1d
Sleep for 200us before each ActivateBestChainStep call
...
This should lower the main thread's likelihood to immediately reacquire
cs_main after dropping it, which should help ThreadNotifyWallets and the
RPC methods to acquire cs_main more quickly.
Ported from ZEC commit e2cd1b761fe556bc6d61849346902c3611530307
2024-09-12 00:21:56 -04:00
Duke
b4e083ae56
Add what seems to be missing locks in mining code
2024-09-11 23:59:57 -04:00
Duke
b71d95bdd4
Delete disabled code
2024-09-11 23:32:46 -04:00
Duke
aa75877cd6
Print stacktrace when asserting a lock is held
2024-09-11 23:31:44 -04:00
Duke
726191cad4
Merge branch 'dev' into duke
2024-09-11 22:27:33 -04:00
Duke
2a910549ba
Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev
2024-09-11 14:53:58 -04:00
Duke
25f2ccb30e
Document exactly what the RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY address is and how it is derived
2024-09-11 14:53:33 -04:00
Duke
1e892f23e6
Remove dead nVersion code
...
This is very old code from the early days of Bitcoin, our mainnets have
never used peer protocol version.
Originally https://github.com/zcash/zcash/commit/150ab1d34c98096d28d4f7951a02516232f40ae2
2024-08-07 07:18:08 -07:00
Duke
7f27489224
Speed up compile by disabling libevent sample code, originally https://github.com/bitcoin/bitcoin/commit/f38c05104848db63ad0df85c24eea466dbff8536
2024-08-07 07:11:13 -07:00
Duke
379e419aad
Convenience script for doing a debug build while autodecting correct OS build script
2024-06-12 13:12:20 -04:00
Duke
8d2380a31d
Record value of DEBUG_LOCKORDER in debug.log
2024-06-09 12:10:59 -04:00
Duke
4f928513c1
Revert "Fix bug when using build-mac.sh and remove cryptoconditions from mac+win build scripts"
...
This reverts commit 46c738500f .
2024-06-09 11:25:37 -04:00
Duke
8a997b04f3
Check if the node should stop when processing thread interrupts and exceptions, in hopes of stopping before a deadlock occurs
2024-06-09 11:22:21 -04:00
Duke
cc4b0750d8
Merge branch 'dev' into duke
2024-06-08 07:33:58 -07:00
Duke
46c738500f
Fix bug when using build-mac.sh and remove cryptoconditions from mac+win build scripts
2024-06-08 07:16:37 -07:00
Duke
5273f4be9e
Give Hush mainnet a dedicated minimum protocol version #345
...
Hush and DragonX do not have the same requirements for which nodes they
should talk to because they don't necessarily have consensus changes at
the same time. For instance, 3.10.0 was a consensus change for Hush but
not DragonX. This commit changes things so that Hush nodes will no
longer talk to old nodes that are not consensus compatible but leaves
things the same for DragonX mainnet, which has never had a consensus
change.
2024-05-06 08:46:21 -07:00
Duke
ba86196409
This document is bitrotten and not useful
2024-05-06 08:33:20 -07:00
Duke
e42b534036
Keybase is no longer used
2024-05-06 08:29:24 -07:00
Duke
18e3364bc2
Make docs for addnode/disconnectnode correct for HACs #376
2024-04-19 07:32:23 -04:00
Duke
0d0a7e9587
Fix 'writing 1 byte into region of size 0'
2024-04-18 06:41:25 -07:00
Duke
9a23cba099
Merge branch 'duke' into dev
2024-03-22 05:49:33 -07:00
Duke
4928ed97c3
Merge branch 'dev' into duke
2024-03-22 05:16:34 -07:00
Duke
f47a7a9d7f
We no longer need this junk
2024-03-22 05:15:58 -07:00
Duke
89cc8a9ee3
Move toolchain-info.sh to util/
2024-03-22 05:11:03 -07:00
Duke
981b275757
Delete unnecessary stuff
2024-03-22 05:10:19 -07:00
Duke
f970082504
Remove migratecoin.sh
2024-03-22 05:07:00 -07:00
Duke
753ad7b95b
Remove .gitmodules
2024-03-22 05:05:50 -07:00
Duke
975f22bfa0
Improve error message in z_sendmany if tx is estimated to be too large
...
The previous error message was incorrect, it could be too many inputs
or a combination of too many inputs and outputs and also did not report
the estimated size.
2024-03-21 11:30:54 -04:00
Duke
558f662a33
Do not apply sapling network rules to block height 0 or 1 in ScanForWalletTransactions
2024-03-21 11:17:58 -04:00
Duke
f5f851158a
Merge branch 'dev' into duke
2024-03-21 11:07:56 -04:00
Duke
3354d45fd3
Make getchaintxstats less noisy in debug log
2024-03-20 16:19:54 -04:00
Duke
8ff5e4aa5e
Make getchaintxstats less noisy in debug log
2024-03-20 14:09:02 -04:00
Duke
9842687be2
It is called hush-arrakis-chain now
2024-03-15 15:17:04 -04:00
Duke
25c27d2ef5
It is called hush-arrakis-chain now
2024-03-15 15:16:04 -04:00
Duke
d1991e6454
It is called hush-arrakis-chain now
2024-03-15 15:14:26 -04:00
Duke
49f8cf7ca7
Remove some unneeded cc code
2024-03-15 15:08:10 -04:00
Duke
65c4c5c8de
They are called Hush Arrakis Chains (HACs) now
2024-03-15 14:06:57 -04:00
Duke
bbfa41c77d
They are called Hush Arrakis Chains (HACs) now
2024-03-15 13:34:07 -04:00
Duke
a7dd567031
They are called Hush Arrakis Chains (HACs) now
2024-03-15 13:33:18 -04:00
Duke
64f59552b3
They are called Hush Arrakis Chains (HACs) now
2024-03-15 13:32:46 -04:00
Duke
7db5749730
Merge branch 'dev' into duke
2024-03-15 13:29:14 -04:00
Duke
81bd6e2f4e
Merge branch 'dev' into duke
2024-03-03 09:58:12 -05:00
Duke
71ff482d4f
Update relnotes
2024-03-03 09:27:33 -05:00
Duke
0ad1dc5557
Update relnotes
2024-03-03 09:26:18 -05:00
Duke
ec81594b42
Update relnotes
2024-03-02 09:43:16 -05:00
Duke
3241992e50
make seeds is an alias for this other much longer annoying command
2024-03-02 09:38:46 -05:00
Duke
7b3c26ddfe
Remove CC dingleberries
2024-02-28 12:43:43 -05:00
Duke
7d0f961e0c
Merge branch 'dev' into duke
2024-02-28 11:50:31 -05:00
Duke
a26fde4f92
Update relnotes
2024-02-28 11:50:16 -05:00
Duke
dfa94d80d8
Fix copyright years which were incorrectly changed
2024-02-28 11:39:22 -05:00
Duke
774f1a9a78
Fix copyright years which were incorrectly changed
2024-02-28 11:38:07 -05:00
Duke
92219bc1eb
Update relnotes
2024-02-28 11:37:23 -05:00
Duke
251407af3f
Update relnotes
2024-02-28 09:08:52 -05:00
Duke
3da93ee53b
Update relnotes
2024-02-28 08:48:24 -05:00
Duke
f64c10baa9
Replace hushd with 'Full node' in a few error messages
2024-02-24 06:09:50 -05:00
Duke
f71f8124c3
Give a better error message which does not mention a specific coin name, so as to not confuse DragonX/etc users
2024-02-21 10:54:51 -05:00
Duke
76e81281e1
Bump version to 3.10.2
2024-02-21 10:37:27 -05:00
Duke
e9f77c835c
Merge branch 'wolfssl' into dev
2024-02-20 09:24:54 -05:00
Duke
ac8f3021db
Merge branch 'dev' into wolfssl
2024-02-19 10:32:29 -05:00
Duke
4c392cca07
Merge branch 'dev' into duke
2024-02-19 10:32:10 -05:00
Duke
d769ee2b1c
Fix bug where SMART_CHAIN_SYMBOL was being used before being set, which caused custom addnodes to not be used and made the full node unable to sync
2024-02-19 10:31:45 -05:00
Duke
16dd3aef74
Improve hush_scanner and seed node contrib file
2024-02-18 22:26:32 -05:00
Duke
7fc0b4ffc2
Remove unused Makefile #291
2024-02-18 09:38:28 -05:00
Duke
171102cbbd
Remove unused Makefile #291
2024-02-18 09:37:06 -05:00
Duke
0679468f60
Add script for scanning dragonx nodes
2024-02-16 08:08:20 -05:00
Duke
dec5d7b0f7
Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev
2024-02-15 14:18:57 -05:00
Duke
a55cc301b2
Text file of hush seed nodes to use with contrib/hush_scanner
2024-02-15 14:18:44 -05:00
Duke
bd0200abf0
Merge branch 'dev' into wolfssl
2024-02-15 11:03:44 -05:00
Duke
eb316f80d8
Merge branch 'dev' into duke
2024-02-15 11:03:18 -05:00
Duke
a581f8fc8e
Fix compile error and remove some cryptocondition dingleberries
2024-02-15 11:03:05 -05:00
Duke
b9d3c77a4c
Merge branch 'duke' into dev
2024-02-15 10:41:50 -05:00
Duke
07b041fd94
Do not apply overwinter/sapling consensus rules to block 0
2024-02-15 10:40:22 -05:00
Duke
8f2350fd84
Merge branch 'dev' into duke
2024-02-15 10:11:52 -05:00
Duke
b14070d15b
Overwinter+sapling consensus rules do not apply to height=0
2024-02-15 10:06:37 -05:00
Duke
f03b01d49e
Update to wolfssl 5.2.0
2024-02-12 13:24:34 -05:00
Duke
2b7b183c2a
Update to wolfssl 5.0.0
2024-02-12 13:10:20 -05:00
Duke
809c0a4b38
Update to wolfssl 4.8.0 and do not verify cert
2024-02-12 12:52:01 -05:00
Duke
c94906e011
Do not spam debug.log with 'Received addr' unless -debug
2024-02-12 09:57:52 -05:00
Duke
acee1c8cf5
Do not spam debug.log with 'Received addr' unless -debug
2024-02-12 09:57:09 -05:00
Duke
6651ff7a2d
Merge branch 'duke' into dev
2024-02-12 07:05:41 -05:00
Duke
90d47ecce4
Potentially fix #382 by not checking the genesis block against sapling consensus rules
2024-02-11 06:29:29 -05:00
Duke
195571b15f
We aint got no stinking joinsplits
2024-02-11 06:02:22 -05:00
Duke
fbc26f0725
Clean up importcoin.h
2024-02-11 06:00:02 -05:00
Duke
ca169d9300
Delete more CCs #381
2024-02-11 00:50:36 -05:00
Duke
5bdb204001
Delete more CCs #381
2024-02-11 00:29:13 -05:00
Duke
8b82bc4d15
Delete more CCs #381
2024-02-11 00:21:29 -05:00
Duke
27034531c9
Delete more CCs #381
2024-02-11 00:12:59 -05:00
Duke
8a9677b337
Delete more CCs #381
2024-02-11 00:09:03 -05:00
Duke
9e26dac42a
Remove libcryptoconditions dependency #381
2024-02-11 00:04:55 -05:00
Duke
0cbce3b0c8
Delete more CCs #381
2024-02-10 23:16:34 -05:00