13054 Commits

Author SHA1 Message Date
tomFlowee 7ecf23e391 Follow indexer changes for all services
Separate the log-conf and service-config file locations.
Avoid providing a bind on the commandline, make it come from the
config file instead.
2026.05.1
2026-05-22 00:12:45 +02:00
tomFlowee 9e165d07ef Allow basedir to be given in the config file.
A general cleanup of how we start indexer.
2026-05-21 23:51:09 +02:00
tomFlowee 2ad4d4719f Add a new checkpoint for mainchain. 2026-05-19 22:55:16 +02:00
tomFlowee fd98e60e00 Disable pruning of rev files for now.
The code needs review.
2026-05-19 22:33:59 +02:00
tomFlowee 716ba62fff Avoid confusing result due to bad input 2026-05-19 19:29:43 +02:00
John Galt 0e8d31aafd networkmanager: catch queued send failures 2026-05-19 19:03:35 +02:00
John Galt d6c59d6aa4 Fix log category and cath more exceptions 2026-05-19 18:57:53 +02:00
tomFlowee 21a6b1bef4 Cap reassmbled native messages.
Implement old TODO; set the maximum size of a sequenced message to 64MiB
by default.
We use a variable, so it should be easy to make a setter, but without
usecase we'll wait to write code that would be unused.
2026-05-19 18:46:35 +02:00
John Galt 2a07f278b2 networkmanager: validate legacy p2p envelopes 2026-05-19 18:09:19 +02:00
tomFlowee be12bd4b58 Add comments. 2026-05-19 17:44:04 +02:00
John Galt c9e805195a networkmanager: bound native parser to packet 2026-05-19 17:44:04 +02:00
tomFlowee b00297da37 Remove broken tests. 2026-05-19 17:44:04 +02:00
tomFlowee 30643a8bcf Improve readability. 2026-05-19 17:44:04 +02:00
John Galt 1713c8f940 networkmanager: reject short native packets 2026-05-19 10:22:58 +02:00
John Galt 79b389caf6 networkmanager: keep ring buffer full state distinct 2026-05-19 10:22:58 +02:00
John Galt 5282a24901 dsproof: bound pushdata while loading proofs 2026-05-19 10:22:58 +02:00
John Galt 4bae804db1 serialize: reject oversized CompactSize collection counts 2026-05-19 10:22:58 +02:00
John Galt 251107d457 streaming: reject invalid P2P parser byte counts 2026-05-19 10:22:58 +02:00
tomFlowee b0c96e5b59 Cleanup after node got banned. 2026-05-18 13:34:20 +02:00
tomFlowee 52d7081ca5 Remove now invalid comment 2026-05-18 12:43:53 +02:00
tomFlowee 2c6fa5f07d Forward the tip flags for validation 2026-05-18 12:43:53 +02:00
tomFlowee a38c7e54c6 Minor: dsproof log improvements 2026-05-18 12:43:30 +02:00
tomFlowee babcf084e8 Remove punishment 2026-05-18 10:37:10 +02:00
tomFlowee a631742114 Log handshake completed for new node 2026-05-18 10:37:10 +02:00
tomFlowee 738faee2de Add needed includes for compile on Android 2026-05-17 16:30:04 +02:00
tomFlowee 9de00d04a5 Prepare next release 2026-05-17 14:03:05 +02:00
tomFlowee 0ae11a2bfc Fix test after moving bigint activation
Since we activated op-mul at the 64-bit upgrade date, this test
now follows this idea.
2026-05-17 13:10:22 +02:00
tomFlowee 467ec72e36 Remove scripts that are no longer invalid. 2026-05-17 13:05:16 +02:00
tomFlowee 10520122be Remove datadir from serviced file
Having the datadir on the commandline overrides the config file.
Users can't really update service files as they are overwritten on
package update.
2026-05-15 22:21:08 +02:00
tomFlowee e2e8c65b2a Make required file descriptors more accessible
We increased this when there was still a good chance of people running
with an old install that had lots of 128MB block files. But since we
haven't created those for years, that requirement isn't really needed
anymore.

This brings it in line with common linux distro's shipping with 1024
file descriptors ulimit default.
2026-05-15 22:13:31 +02:00
tomFlowee 8e5809ddee Re-enable non-spv mode.
As we now follow the full ruleset of Bitcoin Cash again, we enable
normal validation rules for a full node again.
2026.05.0
2026-05-15 10:53:24 +02:00
tomFlowee 39f8da3b3c Update month 2026-05-15 10:52:31 +02:00
tomFlowee 0572486278 Move flag detection to before usage
As flags (like an upgrade being active) have been added in the codepath of
checks2 (contextualChecks), we need to make sure that we update the flags
to the current block just before we do that. So move this one up.
2026-05-15 09:19:57 +02:00
tomFlowee 519c76b149 Remove unused code 2026-05-15 09:19:57 +02:00
tomFlowee 6838d03e57 Fix op-mul activation 2026-05-15 00:03:09 +02:00
tomFlowee 7bb20aa818 Rename method to fix typo 2026-05-14 23:31:17 +02:00
tomFlowee cc4d9fb1f0 Rethrow exception of appropriate type 2026-05-14 23:31:17 +02:00
John Galt 12d94533dd init: recognize chipnet from the command line 2026-05-14 23:31:17 +02:00
John Galt aadc7c0f5a script: include token prefix in forkid signing preimage 2026-05-14 21:28:31 +02:00
John Galt 3a7b716706 tests: cover post-Layla standardness and token commitments 2026-05-14 20:19:07 +02:00
John Galt 4b6f00a514 tests: cover May 2025 and 2026 VM rules 2026-05-14 20:19:07 +02:00
John Galt 99c81869ed script: let malformed multisig fall through to P2S 2026-05-14 20:19:07 +02:00
John Galt db15db1354 core: accept legacy opcode aliases in script parser 2026-05-14 20:19:07 +02:00
John Galt 4876337a55 utils: allow post-Layla token commitments 2026-05-14 20:19:07 +02:00
John Galt 466d02a0e4 validation: apply May 2026 token commitment limit 2026-05-14 20:19:07 +02:00
John Galt 955b5642a7 policy: make post-Layla P2S standard 2026-05-14 20:19:07 +02:00
John Galt eb07e94a3c script: implement May 2026 loops 2026-05-14 20:19:07 +02:00
John Galt f473edf652 script: implement May 2026 functions 2026-05-14 20:19:07 +02:00
John Galt 6b288766ad script: split eval context for May 2026 frames 2026-05-14 20:19:07 +02:00
John Galt 9cd8f7908f script: implement May 2026 bitwise shifts 2026-05-14 20:19:07 +02:00