Commit Graph

2604 Commits

Author SHA1 Message Date
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
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 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 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 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 894d9e5551 Include git info into docker build, show git ref at version (#3829)
* ci: include .git directory into build

* p2p: include git ref into version for user agent, show git commit hash instead of last tag into log

* p2p: do not show anything after version if git commit hash is empty

* fix: user agent typo
2026-05-13 20:17:26 +02:00
ardocrat e172f490ba ci: staging docker build (#3832) 2026-05-12 15:26:42 +02:00
wiesche 7026f8484a Test staging PR permissions (#3831) 2026-05-07 18:16:33 +02:00
ardocrat db2923a147 p2p: update seed list (#3828) 2026-05-07 10:14:29 -04:00
ardocrat 9d0925ab08 lmdb: remove env state when there are no more stores 2026-05-01 01:30:33 +03:00
ardocrat d52cfe173b lmdb: immediate resize if there are no open transactions 2026-04-29 23:36:37 +03:00
ardocrat f41d188dc9 lmdb: count all open transactions to finish before resizing 2026-04-29 22:25:56 +03:00
ardocrat 4cadce1230 fix: pop pos key 2026-04-27 17:41:11 +03:00
ardocrat 9ca157d24c lmdb: use separate databases instead of prefixes, use default db for values without prefixes, migrate old environment 2026-04-27 12:37:01 +03:00
ardocrat e22f5acb11 fix: check batches count on resize waiting 2026-04-24 18:25:07 +03:00
ardocrat deb5b49310 lmdb: use static reader for iterator, count existing batches for stable resize 2026-04-24 18:13:30 +03:00
ardocrat 70040d2160 lmdb: wait db resize before read, reduce timeout before resizing 2026-04-24 13:27:28 +03:00
ardocrat eef000dfe8 lmdb: default env name 2026-04-23 00:27:22 +03:00
ardocrat b18f453fa8 lmdb: speed up prefix iter by storing keys 2026-04-22 19:23:28 +03:00
ardocrat b5eeb37641 fix: resize to have correct multiplier of the system page size 2026-04-21 18:46:04 +03:00
ardocrat 5adec7ad13 build: remove unused dependency 2026-04-20 21:13:50 +03:00
ardocrat f9a04ff100 lmdb: ability to use multiple shared environments 2026-04-20 21:08:26 +03:00
ardocrat 08e95ce197 fix: revert chunk size to 128mb 2026-04-17 01:26:45 +03:00
ardocrat fcf0884b34 lmdb: single environment, migrate existing databases with provided non-default environment name 2026-04-17 00:44:09 +03:00