Commit graph

835 commits

Author SHA1 Message Date
SChernykh
ff7d92c731 Disable debug checks in release builds
Some checks are pending
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:OFF upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2022 rx:ON upnp:ON vs:Visual Studio 17 2022 vspath:C:\Program Files\Microsoft Visual Studio\2022\Enterprise]) (push) Waiting to run
C/C++ CI / build-macos (push) Waiting to run
C/C++ CI / build-macos-aarch64 (push) Waiting to run
C/C++ CI / build-freebsd (map[architecture:x86-64 host:ubuntu-latest name:freebsd version:13.3]) (push) Waiting to run
C/C++ CI / build-openbsd (map[architecture:x86-64 host:ubuntu-latest name:openbsd version:7.4]) (push) Waiting to run
clang-tidy / clang-tidy (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run
cppcheck / cppcheck-ubuntu (push) Waiting to run
cppcheck / cppcheck-windows (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
source-snapshot / source-snapshot (push) Waiting to run
Sync test (old) / sync-test-ubuntu-tsan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-msan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-ubsan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-asan (push) Waiting to run
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Waiting to run
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Waiting to run
Sync test (old) / sync-test-windows-debug-asan (push) Waiting to run
Sync test (old) / sync-test-windows-leaks (push) Waiting to run
Sync test / sync-test-ubuntu-tsan (push) Waiting to run
Sync test / sync-test-ubuntu-msan (push) Waiting to run
Sync test / sync-test-ubuntu-ubsan (push) Waiting to run
Sync test / sync-test-ubuntu-asan (push) Waiting to run
Sync test / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Waiting to run
Sync test / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Waiting to run
Sync test / sync-test-windows-debug-asan (push) Waiting to run
Sync test / sync-test-windows-leaks (push) Waiting to run
2024-06-11 20:33:20 +02:00
SChernykh
5e8da4e672 Fixed merge mining with multiple chains
Some checks are pending
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:OFF upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Waiting to run
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2022 rx:ON upnp:ON vs:Visual Studio 17 2022 vspath:C:\Program Files\Microsoft Visual Studio\2022\Enterprise]) (push) Waiting to run
C/C++ CI / build-macos (push) Waiting to run
C/C++ CI / build-macos-aarch64 (push) Waiting to run
C/C++ CI / build-freebsd (map[architecture:x86-64 host:ubuntu-latest name:freebsd version:13.3]) (push) Waiting to run
C/C++ CI / build-openbsd (map[architecture:x86-64 host:ubuntu-latest name:openbsd version:7.4]) (push) Waiting to run
clang-tidy / clang-tidy (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run
cppcheck / cppcheck-ubuntu (push) Waiting to run
cppcheck / cppcheck-windows (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
source-snapshot / source-snapshot (push) Waiting to run
Sync test (old) / sync-test-ubuntu-tsan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-msan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-ubsan (push) Waiting to run
Sync test (old) / sync-test-ubuntu-asan (push) Waiting to run
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Waiting to run
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Waiting to run
Sync test (old) / sync-test-windows-debug-asan (push) Waiting to run
Sync test (old) / sync-test-windows-leaks (push) Waiting to run
Sync test / sync-test-ubuntu-asan (push) Waiting to run
Sync test / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Waiting to run
Sync test / sync-test-ubuntu-tsan (push) Waiting to run
Sync test / sync-test-ubuntu-msan (push) Waiting to run
Sync test / sync-test-ubuntu-ubsan (push) Waiting to run
Sync test / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Waiting to run
Sync test / sync-test-windows-debug-asan (push) Waiting to run
Sync test / sync-test-windows-leaks (push) Waiting to run
2024-06-11 18:40:30 +02:00
SChernykh
8fc5e5013c Fix: update peer height on block notify
Some checks failed
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:OFF upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Has been cancelled
C/C++ CI / build-windows-msbuild (map[grpc:OFF os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Has been cancelled
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2019 rx:ON upnp:ON vs:Visual Studio 16 2019 vspath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise]) (push) Has been cancelled
C/C++ CI / build-windows-msbuild (map[grpc:ON os:2022 rx:ON upnp:ON vs:Visual Studio 17 2022 vspath:C:\Program Files\Microsoft Visual Studio\2022\Enterprise]) (push) Has been cancelled
C/C++ CI / build-macos (push) Has been cancelled
C/C++ CI / build-macos-aarch64 (push) Has been cancelled
C/C++ CI / build-freebsd (map[architecture:x86-64 host:ubuntu-latest name:freebsd version:13.3]) (push) Has been cancelled
C/C++ CI / build-openbsd (map[architecture:x86-64 host:ubuntu-latest name:openbsd version:7.4]) (push) Has been cancelled
clang-tidy / clang-tidy (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
cppcheck / cppcheck-ubuntu (push) Has been cancelled
cppcheck / cppcheck-windows (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
source-snapshot / source-snapshot (push) Has been cancelled
Sync test / sync-test-ubuntu-ubsan (push) Has been cancelled
Sync test (old) / sync-test-ubuntu-tsan (push) Has been cancelled
Sync test (old) / sync-test-ubuntu-msan (push) Has been cancelled
Sync test (old) / sync-test-ubuntu-ubsan (push) Has been cancelled
Sync test (old) / sync-test-ubuntu-asan (push) Has been cancelled
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Has been cancelled
Sync test (old) / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Has been cancelled
Sync test (old) / sync-test-windows-debug-asan (push) Has been cancelled
Sync test (old) / sync-test-windows-leaks (push) Has been cancelled
Sync test / sync-test-ubuntu-tsan (push) Has been cancelled
Sync test / sync-test-ubuntu-msan (push) Has been cancelled
Sync test / sync-test-ubuntu-asan (push) Has been cancelled
Sync test / sync-test-macos (map[flags:-Og -ftrapv -target arm64-apple-macos-11 os:macos-14]) (push) Has been cancelled
Sync test / sync-test-macos (map[flags:-Og -ftrapv os:macos-13]) (push) Has been cancelled
Sync test / sync-test-windows-debug-asan (push) Has been cancelled
Sync test / sync-test-windows-leaks (push) Has been cancelled
2024-06-09 21:21:52 +02:00
SChernykh
b92eedeed7 Set testnet fork time 2024-06-05 19:08:14 +02:00
SChernykh
a188ca7fad Fixed CI errors 2024-06-03 21:11:16 +02:00
SChernykh
9cd9055913 Print merge mining status 2024-06-03 17:31:18 +02:00
SChernykh
4bc0b559cb Block parser: sanity check minor version 2024-06-03 11:29:01 +02:00
SChernykh
9a9f6379cd Tweaked software version display
GoObserver will have the same version format
2024-06-03 11:10:38 +02:00
SChernykh
7293e37165 More hardfork code
All block format changes must be a part of hardfork
2024-06-03 10:59:57 +02:00
SChernykh
fb87e01986 Fixed keccak_bmi.cpp compilation without RandomX 2024-05-31 11:40:35 +02:00
SChernykh
bd6f68790e Faster Keccak code (BMI instructions) 2024-05-31 00:39:11 +02:00
SChernykh
33e1ebd3fe Calculate hashing blobs in parallel
Improved performance with high number of connected miners.
2024-05-30 16:53:32 +02:00
SChernykh
9a2cab4b5e Fixed a Coverity warning 2024-05-29 13:32:11 +02:00
SChernykh
70e889ebdb Fixed software version display 2024-05-29 10:47:03 +02:00
SChernykh
59b693d2f3 P2Pool version: add patch number 2024-05-28 22:41:37 +02:00
SChernykh
c96e7323cc Miner: fix displayed difficulty for found aux blocks 2024-05-24 18:32:03 +02:00
SChernykh
4acc9d09b8 JSON RPC API: added seed_hash
It is required to verify RandomX PoW
2024-05-24 17:05:50 +02:00
SChernykh
d0107ed148 Fixed block template generation
Mining with `--merge-mining` in the command line but with merge mining disabled was broken
2024-05-23 22:17:39 +02:00
SChernykh
23ba77ee4d Updated dependencies 2024-05-23 15:37:39 +02:00
SChernykh
b07e8813c6 Tari: call SubmitBlock RPC in background
to avoid stalling the main thread
2024-05-23 00:16:13 +02:00
SChernykh
406aa72112 Merge branch 'master' into merge-mining 2024-05-22 16:21:46 +02:00
SChernykh
9fd85942e0 Fixed cppcheck error 2024-05-22 16:18:40 +02:00
SChernykh
5e7d48e70c Fix: don't call update_block_template twice 2024-05-22 15:27:23 +02:00
SChernykh
2b7febf5d0 Fixed cppcheck error 2024-05-20 19:17:19 +02:00
SChernykh
710f6c2eb7 Submit merge mined blocks asynchronously 2024-05-20 15:22:03 +02:00
SChernykh
08384156e4 Better API name, added API descriptions 2024-05-16 18:10:04 +02:00
SChernykh
899a908409 Added hardfork code 2024-05-14 22:48:59 +02:00
SChernykh
21326c5103 Merkle trees: added get_position_from_path
Also double check against Monero's Merkle tree path code.
2024-05-14 19:37:38 +02:00
SChernykh
a25b5c9713 Tari: fixed pow_data generation 2024-05-11 18:58:53 +02:00
SChernykh
fe19402218 Tari: enabled submit block gRPC call 2024-05-10 20:01:10 +02:00
SChernykh
be1445d7b5 Added Merkle proof's path bitmap to JSON RPC API 2024-05-10 16:53:47 +02:00
SChernykh
f67009f133 Added path bitmap to get_merkle_proof 2024-05-10 15:34:30 +02:00
SChernykh
e986e5dc2e Tari: Added coinbase_merkle_proof to pow_data 2024-05-10 13:56:28 +02:00
SChernykh
d6364709ca Fixed cppcheck errors 2024-05-10 00:09:53 +02:00
SChernykh
e07d37ede8 Fixed overflow check 2024-05-09 21:55:30 +02:00
SChernykh
f270b979c8 Fix: use correct nonce value 2024-05-09 20:47:26 +02:00
SChernykh
fd953a0b26 Tari: serialize pow_data WIP 2024-05-09 20:35:41 +02:00
SChernykh
e8d800b433 Tari: submit block code WIP 2024-04-30 23:15:34 +02:00
SChernykh
a5f3e1e2ee Tari: fill in merge mining hash and difficulty 2024-04-29 21:59:44 +02:00
SChernykh
5f62069590 CI: cppcheck script fixes 2024-04-25 19:57:23 +02:00
SChernykh
4d04e9e2bd Merge branch 'master' into merge-mining 2024-04-25 15:10:06 +02:00
SChernykh
bbddf40590 Fixed cppcheck error 2024-04-25 14:48:34 +02:00
SChernykh
2085bb454b Tari: use GetNewBlockTemplateWithCoinbases API 2024-04-23 21:31:40 +02:00
SChernykh
313a099a4b Added missing newline 2024-04-23 18:59:04 +02:00
SChernykh
c3add767be Merge branch 'master' into merge-mining 2024-04-23 18:43:35 +02:00
SChernykh
6dd72dfcd5 Fixed a rare crash on shutdown 2024-04-23 18:40:15 +02:00
SChernykh
b3f562caab Added sanity checks for height and difficulty 2024-04-23 18:29:19 +02:00
SChernykh
a847baf331 Revert "Fixed include paths"
This reverts commit 1b0103c119.
2024-04-23 18:10:09 +02:00
SChernykh
1b0103c119 Fixed include paths 2024-04-11 20:41:20 +02:00
SChernykh
ad04fd13ae Merge branch 'master' into merge-mining 2024-04-03 11:40:30 +02:00