2668 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
ardocrat b41a0cc209 Merge branch 'staging' into grim
# Conflicts:
#	store/src/lmdb.rs
2026-06-11 10:34:22 +03:00
David Burkett a25fde9674 Bump version to v5.4.1 2026-06-10 20:50:21 -04:00
wiesche ee4390e437 Clarifies the blinding factor range proof explanation and includes the remaining typo fixes (#3840) 2026-06-10 20:42:32 -04:00
David Burkett 68053a203e Add fountainoffairfortune seeds 2026-06-10 20:27:40 -04:00
David Burkett 62e5ace442 pibd: bound segment decoding allocations (#3850) 2026-06-10 12:02:01 -04:00
wiesche cf2ed3f3be propagate lmdb iterator page errors (#3849) 2026-06-07 21:57:43 +02:00
ardocrat 386ac1ed5c Merge remote-tracking branch 'grin_ardocrat/lmdb_update' into grim 2026-06-04 17:47:57 +03:00
ardocrat 110e0e143f Migrate from lmdb-zero to heed (#3825)
* db: migrate from lmdb-zero to heed

* fix: check resizing operation and wait to avoid crash with multiple batches, fix exists check at batch

* build: fix missing deps at Cargo.lock

* lmdb: single environment, migrate existing databases with provided non-default environment name

* fix: revert chunk size to 128mb

* lmdb: ability to use multiple shared environments

* build: remove unused dependency

* fix: resize to have correct multiplier of the system page size

* lmdb: speed up prefix iter by storing keys

* lmdb: default env name

* lmdb: wait db resize before read, reduce timeout before resizing

* lmdb: use static reader for iterator, count existing batches for stable resize

* fix: check batches count on resize waiting

* lmdb: use separate databases instead of prefixes, use default db for values without prefixes, migrate old environment

* fix: pop pos key

* lmdb: count all open transactions to finish before resizing

* lmdb: immediate resize if there are no open transactions

* lmdb: remove env state when there are no more stores

* lmdb: use atomic for resize and resize checking flags

* lmdb: sleep 10ms when waiting all opened txs to be closed

* lmdb: use atomic open txs and stores count

* lmdb: use index to detect separator, ignore unknown db key to not have a panic

* lmdb: store max 10k keys in the iterator

* lmdb: check iter result on getting total

* lmdb: handle errors at iterator

* lmdb: handle an error when db with provided key not found

* lmdb: fix iterate over 10k keys

* lmdb: document migration resize safety

* lmdb: fix iter test

* lmdb: clear new db after unsuccessful migration, handle read error on migration to interrupt process

* store: bring back old key methods to reproduce data migration

* lmdb: return an error on unsuccessful migration

* lmdb: migration test, clean data after allocate test

* lmdb: info migration log

* fix: move iterator before handling an error to allow skip bad value

* lmdb: return an error if removal of old DB file failed after migration

* lmdb: lifetime for iterator, use write transaction at batch iterator

* lmdb: migration progress

* fix: tests

* lmdb: immediately set resizing flag, ignore resizing flag while there are more than 0 opened txs to avoid stuck, optimize tx counter for some operations

* lmdb: key for successful migration

* lmdb: fix put database creation at separate block to avoid lifetime issues when returning an error on migration
2026-06-02 13:53:53 +02:00
ardocrat 0dc4280b68 lmdb: fix put database creation at separate block to avoid lifetime issues when returning an error on migration 2026-06-02 12:31:56 +03:00
ardocrat 2c3a067629 lmdb: key for successful migration 2026-06-02 11:14:57 +03:00
ardocrat d2ead628ee lmdb: immediately set resizing flag, ignore resizing flag while there are more than 0 opened txs to avoid stuck, optimize tx counter for some operations 2026-06-02 01:25:06 +03:00
ardocrat 650df0f3b7 fix: tests 2026-06-01 19:36:38 +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
wiesche f23c94cac5 Snap addition (#3844)
* add workflow

* branches:
  - snap_addition

* Add snap package build workflow

* Add snap package build master, staging

* snap version from Cargo.toml

* Seems like staging branch should have grade: devel quality level

* Set snap grade based on branch

* add multi arch

* Update snap.yaml

* snap: use arm platform for arm build

* snap: multi platform ci build

---------

Co-authored-by: ardocrat <ardocrat@gri.mw>
2026-05-28 07:15:33 +02:00
Noobvie 8688a98e4f Change default IP address for P2PConfig to IPv6 (#3843)
* Change default IP address for P2PConfig to IPv6

Feature request: Change default P2P listen host from 0.0.0.0 to :: for dual-stack IPv4+IPv6 support.
As tested on several windows/linux machines and not found issue. Worked with ipv4 or ipv6 or dual ipv4+ipv6.

* docs+config add p2p listen host options

---------

Co-authored-by: Joerg <wiesche89@googlemail.com>
2026-05-27 21:34:48 +02:00
ardocrat f3796fa27b Merge branch 'lmdb_update' into grim 2026-05-26 16:30:10 +03:00
wiesche 90b153fafc Clarifies the blinding factor range proof explanation and includes the remaining typo fixes (#3840) 2026-05-26 13:01:02 +02:00
wiesche a6615611a9 merge https://github.com/mimblewimble/grin/pull/3808 (#3839) 2026-05-26 11:32:33 +02:00
ardocrat 6d10beaaa2 lmdb: lifetime for iterator, use write transaction at batch iterator 2026-05-25 21:48:05 +03:00
wiesche 51f58427e9 docs: update contributing process (#3833)
* docs: update contributing process

* add pr example
2026-05-25 20:34:08 +02:00
ardocrat aca71f7aae lmdb: return an error if removal of old DB file failed after migration 2026-05-25 17:58:31 +03:00
ardocrat e9e38bd88c fix: move iterator before handling an error to allow skip bad value 2026-05-25 17:27:12 +03:00
ardocrat dc7b49004d Merge branch 'lmdb_update' into grim 2026-05-20 20:08:28 +03:00
ardocrat 22e34311b8 Merge branch 'pibd_peers_fix' into grim 2026-05-20 20:05:52 +03:00
ardocrat dedaea205f lmdb: info migration log 2026-05-19 21:50:37 +03:00
ardocrat a24f30e3ae Merge branch 'staging' into lmdb_update 2026-05-18 23:25:36 +03:00
ardocrat 7a387d434b lmdb: migration test, clean data after allocate test 2026-05-18 13:22:24 +03:00
ardocrat 2dd726f17b lmdb: return an error on unsuccessful migration 2026-05-18 12:48:17 +03:00
ardocrat 9f29af8e14 store: bring back old key methods to reproduce data migration 2026-05-17 13:43:27 +03:00
ardocrat 7bf460992d lmdb: clear new db after unsuccessful migration, handle read error on migration to interrupt process 2026-05-17 13:35:32 +03:00
ardocrat 17cd0b9ed4 lmdb: fix iter test 2026-05-17 13:25:15 +03:00
ardocrat b97fa28aa4 lmdb: document migration resize safety 2026-05-17 13:14:36 +03:00
ardocrat cbf2cafd69 lmdb: fix iterate over 10k keys 2026-05-17 13:09:53 +03:00
ardocrat 630bb2e565 lmdb: handle an error when db with provided key not found 2026-05-17 12:51:42 +03:00
ardocrat fc66b73e5b lmdb: handle errors at iterator 2026-05-17 12:36:31 +03:00
ardocrat 418d865c01 lmdb: check iter result on getting total 2026-05-16 12:51:25 +03:00
ardocrat d217bda12e lmdb: store max 10k keys in the iterator 2026-05-16 12:44:21 +03:00
ardocrat 7d251d2267 lmdb: use index to detect separator, ignore unknown db key to not have a panic 2026-05-15 18:38:25 +03:00
ardocrat aa28adc6bd lmdb: use atomic open txs and stores count 2026-05-15 18:20:13 +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 22bc944918 lmdb: sleep 10ms when waiting all opened txs to be closed 2026-05-15 10:53:20 +03:00
ardocrat f921f8758c lmdb: use atomic for resize and resize checking flags 2026-05-15 10:52:09 +03:00
ardocrat 20e4e845a1 ci: github grim branch docker image 2026-05-14 22:59:11 +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 048453f989 peers: keep blocked list into memory till restart or pibd finish 2026-05-14 22:32:01 +03:00