Commit Graph

2642 Commits

Author SHA1 Message Date
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
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 80cba965ab cargo: format all 2026-05-14 13:04:48 +03:00
ardocrat 86eaa7b7ac fix: add missed build to grin_p2p from staging branch 2026-05-14 12:57:01 +03:00
ardocrat fde914d11a Merge branch 'staging' into rust_edition 2026-05-14 12:33:41 +03:00
ardocrat 473f9f33ad build: update rust edition 2021 2026-05-14 11:57:20 +03:00
ardocrat 0321bf5b14 fix: peers iterator to unblock blocked 2026-05-14 11:54:54 +03:00
ardocrat be37f46f59 fix: add segment to request if not exists 2026-05-14 11:26:22 +03: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 3a37d24dca Merge branch 'ci_include_git_dir' into grim 2026-05-02 23:18:32 +03:00
ardocrat 114c0eefa4 ci: include .git directory into build 2026-05-02 23:10:48 +03:00
ardocrat fb87a26d3f p2p: fix test for user agent 2026-05-02 21:14:36 +03:00
ardocrat f5d59e595e ci: ghcr build from grim branch 2026-05-02 20:56:16 +03:00
ardocrat 5bebacd605 node: include git hash into user agent 2026-05-02 20:55:32 +03:00
ardocrat 95486a4bc0 node: custom agent test 2026-05-01 12:44:45 +03: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 5fb9c5badf Merge branch 'pibd_fixes' into grim 2026-05-01 12:35:49 +03:00
ardocrat 0ea779e777 node: custom agent 2026-05-01 12:31:52 +03:00
ardocrat bd63c266e2 Merge branch 'lmdb_update' into grim 2026-05-01 01:31:18 +03:00
ardocrat 9d0925ab08 lmdb: remove env state when there are no more stores 2026-05-01 01:30:33 +03:00
ardocrat f80e450896 Merge branch 'lmdb_update' into grim 2026-04-29 23:37:54 +03:00
ardocrat d52cfe173b lmdb: immediate resize if there are no open transactions 2026-04-29 23:36:37 +03:00
ardocrat 1832e1e907 Merge branch 'lmdb_update' into grim 2026-04-29 22:26:48 +03:00
ardocrat f41d188dc9 lmdb: count all open transactions to finish before resizing 2026-04-29 22:25:56 +03:00