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
ardocrat
2164f6098f
Merge branch 'lmdb_update' into grim
2026-04-27 22:28:14 +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
0bedfb39d7
Merge branch 'lmdb_update' into grim
2026-04-24 18:26:02 +03:00
ardocrat
e22f5acb11
fix: check batches count on resize waiting
2026-04-24 18:25:07 +03:00
ardocrat
13cfef93ec
Merge branch 'lmdb_update' into grim
2026-04-24 18:14:55 +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
36211eef59
Merge branch 'lmdb_update' into grim
2026-04-24 13:46:12 +03:00
ardocrat
70040d2160
lmdb: wait db resize before read, reduce timeout before resizing
2026-04-24 13:27:28 +03:00
ardocrat
03ddb5f118
pibd: check if segment not exists at request when selecting next required
2026-04-23 00:52:16 +03:00
ardocrat
eef000dfe8
lmdb: default env name
2026-04-23 00:27:22 +03:00
ardocrat
29f822f298
pibd: do not check for max cached segments on selecting next desired segment for request
2026-04-22 23:39:56 +03:00
ardocrat
3d14a54d69
Merge branch 'lmdb_update' into grim
2026-04-22 20:28:23 +03:00
ardocrat
b18f453fa8
lmdb: speed up prefix iter by storing keys
2026-04-22 19:23:28 +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
3d8cb52995
Merge branch 'refs/heads/lmdb_update' into grim
2026-04-21 22:33:18 +03:00
ardocrat
b5eeb37641
fix: resize to have correct multiplier of the system page size
2026-04-21 18:46:04 +03:00
ardocrat
f47bf935ab
Merge branch 'refs/heads/lmdb_update' into grim
2026-04-20 21:22:51 +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
ardocrat
593f4c420a
build: fix missing deps at Cargo.lock
2026-04-16 22:50:53 +03:00
ardocrat
0c3e18a913
Merge branch 'refs/heads/lmdb_update' into grim
2026-04-16 14:54:33 +03:00
ardocrat
02cce56741
fix: check resizing operation and wait to avoid crash with multiple batches, fix exists check at batch
2026-04-16 14:30:36 +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
b172256d0b
peer: update last_attempt when changing peer state to other than Banned
2026-04-09 04:22:02 +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