559 Commits

Author SHA1 Message Date
ardocrat bce5a7144b Merge branch 'master' into grim
Continuous Integration / Linux Tests (api) (push) Has been cancelled
Continuous Integration / Linux Tests (chain) (push) Has been cancelled
Continuous Integration / Linux Tests (core) (push) Has been cancelled
Continuous Integration / Linux Tests (keychain) (push) Has been cancelled
Continuous Integration / Linux Tests (p2p) (push) Has been cancelled
Continuous Integration / Linux Tests (pool) (push) Has been cancelled
Continuous Integration / Linux Tests (servers) (push) Has been cancelled
Continuous Integration / Linux Tests (src) (push) Has been cancelled
Continuous Integration / Linux Tests (store) (push) Has been cancelled
Continuous Integration / Linux Tests (util) (push) Has been cancelled
Continuous Integration / macOS Tests (push) Has been cancelled
Continuous Integration / Windows Tests (push) Has been cancelled
# Conflicts:
#	p2p/Cargo.toml
2026-06-11 10:35:27 +03:00
David Burkett a25fde9674 Bump version to v5.4.1 2026-06-10 20:50:21 -04:00
David Burkett 68053a203e Add fountainoffairfortune seeds 2026-06-10 20:27:40 -04:00
ardocrat 386ac1ed5c Merge remote-tracking branch 'grin_ardocrat/lmdb_update' into grim 2026-06-04 17:47:57 +03:00
ardocrat ebcf7feb28 lmdb: migration progress 2026-06-01 17:29:53 +03:00
ardocrat 00685a45c3 Merge branch 'staging' into lmdb_update 2026-06-01 14:48:24 +03:00
ardocrat 151e74c860 tui: show server initialization status and error (#3836)
* tui: show server initialization status and error

* fix: compilation issues

* fix: add documenting to status, remove unused imports

* fix: do not empty server value

* fix: server ref

* tui: do not quit on q when another dialog is showing (progress or error)

* fix: server stop on tui shutdown

* fix: stop server if tui was stopped after start

* server: panic on error at non-tui mode like before with unwrap

* fix: pop dialog

* fix: do not return result on tx after server start

* tui: close current dialog before quit

* tui: pass stop state to server creation after tui quit

* tui: exit code 1 after error, also for non-tui

* tui: better exit code
2026-06-01 13:47:29 +02:00
wiesche 7332c742d6 add (#3846)
mainnet.fountainoffairfortune.it
testnet.fountainoffairfortune.it

Tested the newly added seed. Handshakes are succeeding, will merge
2026-05-28 16:39:38 +02:00
ardocrat 22e34311b8 Merge branch 'pibd_peers_fix' into grim 2026-05-20 20:05:52 +03:00
ardocrat a24f30e3ae Merge branch 'staging' into lmdb_update 2026-05-18 23:25:36 +03:00
ardocrat a81f59926c lmdb: do not include blocked peers in selection of peer, count also blocked peers to use fallback .zip download 2026-05-15 15:14:47 +03:00
ardocrat 2d0ce2d526 Merge branch 'rust_edition' into grim
# Conflicts:
#	.github/workflows/publish-ghcr.yaml.yml
#	p2p/Cargo.toml
#	p2p/src/msg.rs
#	p2p/tests/peer_handshake.rs
2026-05-14 22:52:52 +03:00
ardocrat c4f054ab51 sync: blocked filter 2026-05-14 22:34:22 +03:00
ardocrat 55d465beb2 Update rust edition to 2021 (#3834)
* build: update rust edition 2021

* fix: add missed build to grin_p2p from staging branch

* cargo: format all
2026-05-14 12:15:44 +02:00
ardocrat 473f9f33ad build: update rust edition 2021 2026-05-14 11:57:20 +03:00
ardocrat db2923a147 p2p: update seed list (#3828) 2026-05-07 10:14:29 -04:00
ardocrat e6265a810d Merge branch 'pibd_peers_fix' into grim
# Conflicts:
#	servers/src/grin/seed.rs
2026-05-01 12:36:43 +03:00
ardocrat 769da6dbdd p2p: ignore last connection attempt when there is not enough outbound peers 2026-04-22 11:43:35 +03:00
ardocrat dfac42618c Merge branch 'pibd_peers_fix' into grim 2026-04-22 11:28:31 +03:00
ardocrat b41f0bdbd4 p2p: ignore last connection attempt when there is not enough outbound peers 2026-04-22 11:11:20 +03:00
ardocrat ab907508c7 Merge branch 'master' into pibd_peers_fix 2026-04-22 11:08:02 +03:00
ardocrat 0c3e18a913 Merge branch 'refs/heads/lmdb_update' into grim 2026-04-16 14:54:33 +03:00
ardocrat 1036ca6ac1 db: migrate from lmdb-zero to heed 2026-04-16 12:12:34 +03:00
ardocrat 42b928a42f Merge branch 'refs/heads/master' into grim
# Conflicts:
#	servers/src/grin/seed.rs
2026-04-09 20:50:44 +03:00
ardocrat 90dab5fcc6 More reliable peers check (#3824)
* peer: unknown state for new peers, check peers state on every monitor (128 healthy non-connected + 128 defuncts + 128 unknown), mark peer as defunct when ping not passed, do not crash on toml parse with dns failure

* p2p: cleanup before selection at monitor, add outbound to connected list only when there is not enough peers + disconnect extra peer immediately, reconnect to seeds at monitor to avoid stuck, update only defunct state to unknown when received existing peer address

* p2p: reduced amount of total peers to check at monitor

* p2p: do not check healthy and defunct peers more often than once per hour, store last connection attempt, do not ask for more peers when there is enough outbound

* peer: update last_attempt when changing peer state to other than Banned

* fix: log of peers amount to check
2026-04-09 11:55:22 -04:00
ardocrat cc555a22fb Merge branch 'refs/heads/peers_fix' into grim 2026-04-09 04:40:16 +03:00
ardocrat 1258b844f3 p2p: do not check healthy and defunct peers more often than once per hour, store last connection attempt, do not ask for more peers when there is enough outbound 2026-04-09 04:15:19 +03:00
ardocrat 91f6ddc8c3 p2p: reduced amount of total peers to check at monitor 2026-04-08 22:11:11 +03:00
ardocrat 3787881673 Merge remote-tracking branch 'grin_ardocrat/peers_fix' into grim 2026-04-06 02:27:21 +03:00
ardocrat 9585c02135 p2p: cleanup before selection at monitor, add outbound to connected list only when there is not enough peers + disconnect extra peer immediately, reconnect to seeds at monitor to avoid stuck, update only defunct state to unknown when received existing peer address 2026-04-06 01:44:22 +03:00
ardocrat ab9715d9a9 peer: unknown state for new peers, check peers state on every monitor (128 healthy non-connected + 128 defuncts + 128 unknown), mark peer as defunct when ping not passed, do not crash on toml parse with dns failure 2026-04-04 01:58:35 +03:00
ardocrat d9bca1c776 pibd: choose peers based on minimal height, temporary block peers for stale segments disconnecting only outbound, force request for output and rangeproof segments to avoid stuck at this case 2026-03-30 15:26:29 +03:00
David Burkett 2ec7b4d5cd Bump version to v5.4.0 2026-03-09 10:44:03 -04:00
ardocrat 376c85bab5 Fix PIBD sync stuck (#3817)
* pibd: record segment peer to exclude it from re-request

* desegmenter is blocked on a missing kernel

* segment iter

* add indexing

* pibd: log excluded peer

* segment batch optimization

* pibd: debug logging for stale requests

* pibd: filter excluded peer

* pibd: check existing kernel segment identifier

* pibd: simplify peer selection condition

---------

Co-authored-by: Joerg <wiesche89@googlemail.com>
2026-01-08 14:40:59 -05:00
Yeastplume 8e79856168 Upgrade Tokio to v1.x and Hyper to v0.14 (#3804)
* update of tokio and related dependencies to 1.x

* update to hyper 0.14

* fixes to http connector for tests
2025-03-08 11:54:13 +00:00
Yeastplume 9a23cfe483 Rust 1.80+ fixes & accumulated warning cleanup (#3796)
* Update versioning on master to 5.4.0-alpha.0

* updates for 1.80 and other accumulated warnings

* further warning cleanups

* move dead code tag to function defn rather than module
2024-09-12 20:59:40 +01:00
Yeastplume 503527c2e7 Update versioning on master to 5.4.0-alpha.0 (#3789) 2024-05-20 09:30:00 +01:00
Yeastplume 163ca397f4 Update versioning for 5.3.0, update grin_secp256k1zkp dependency (#3786) 2024-04-18 12:31:25 +01:00
Yeastplume c5efaa4e7c more chrono warnings, update cursive lib (#3778) 2024-01-29 12:50:45 +00:00
Yeastplume d1b7ae5352 warning cleanup (#3759) 2024-01-29 09:23:38 +00:00
Yeastplume c48ba3e365 update development version 2024-01-25 12:08:34 +00:00
Yeastplume 70d45465c3 version number update for 5.2.0 tag 2024-01-25 10:53:10 +00:00
Yeastplume 05ec6fda38 [PIBD] Fix to restart of PIBD download on corrupted data or mismatched roots (#3775)
* process restart

* remove trace statements

* remove further debug statement

* remove further debug statement
2023-10-31 12:18:17 +00:00
Yeastplume 94277bba9d update versioning to 5.2.0-beta.3 (#3766)
* update versioning to 5.2.0-beta.3

* cargo lock
2023-08-02 10:22:25 +01:00
John Tromp 399fb19c30 Fix leading zeroes bugs (#3763)
* remove two unneeded mut's

* ensure correct size for leading_zeros()
2023-07-20 14:25:53 +01:00
Yeastplume b69f18d0a2 Update versioning for 5.2.0-beta.2 (#3760) 2023-06-28 10:46:28 +01:00
Yeastplume 2273ea986d PIBD - Revert earlier pibd_aborted flag in sync logic (#3757)
* revert earlier pibd_aborted flag in sync logic

* formatting
2023-06-22 14:39:19 +01:00
ard'O'crat 45ebc8ae50 pibd: save latest_block_height to request less data from db when checking progress (#3756) 2023-06-20 12:13:15 +01:00
Yeastplume fd1410ebeb version change to 5.2.0-beta.1 for tag (#3753) 2023-06-12 10:10:42 +01:00
Yeastplume 0649ba9645 'Turn on' PIBD on main-net, in advance of 5.2.0 release (#3750)
* remove non-mainnet check for PIBD requests

* remove surplus flag

* use matches! macro

* fix match logic

* correct match logic
2023-06-06 12:24:26 +01:00