Commit Graph

309 Commits

Author SHA1 Message Date
Mark Holt
7f9f12acab
Added BorFinality to kv table definitions to support polygon milestones (#1116) 2023-09-10 08:49:51 +00:00
alex.sharov
c344806b10 rename torquem-ch project 2023-08-24 18:10:47 +07:00
Alex Sharov
3c4b0d425b
move mdbx to new org (#1083) 2023-08-24 11:00:21 +00:00
Alex Sharov
ec899e41a1
metrics: prevent commit metrics duplication (#1082) 2023-08-24 02:24:09 +00:00
ledgerwatch
3aa5249d48
Add BorEvents snapshot type (#1051)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-08-18 15:33:09 +00:00
Alex Sharov
fdd39828c3
log file unmap/close errors (#1036) 2023-08-12 20:14:40 +00:00
Alex Sharov
8d0bcd06ea
tmpdb: move to tmpdir (#1074) 2023-08-11 19:06:05 +00:00
Giulio rebuffo
73d985faf4
Added memory diff to memory mutation (#1068) 2023-08-04 11:25:22 +00:00
Giulio rebuffo
c89353e91a
added NewMemoryBatchWithCustomDB (#1061) 2023-07-30 14:28:02 +00:00
Giulio rebuffo
0e71e9b034
added MemDB() (#1059) 2023-07-27 22:23:26 +00:00
Alex Sharov
797e6dda5f
fsync: don't skip error, ability to disable in tests (#1043) 2023-07-11 06:09:05 +00:00
Alex Sharov
aaa51ec2d9
mdbx bug in DeleteCurrentDuplicates() workaround (#1039) 2023-07-06 04:08:17 +00:00
Andrew Ashikhmin
f87b4cd9de
Introduce BitLenToByteLen (#1022) 2023-06-14 12:22:13 +00:00
Alex Sharov
9fa56d97ea
kv_mdbx: don't use defer for wg.Add(). not necessary and sometime it checking invalid err variable (#1019) 2023-06-13 03:57:11 +00:00
Alex Sharov
2c89914c25
e3: move domains to tables.go (#1018) 2023-06-11 14:12:07 +00:00
Alex Sharov
dfdc66dfeb
mdbx: tx.Get - avoid interface casting (#1017) 2023-06-11 02:45:41 +00:00
alex.sharov
f3edece0bc docs: cursor dupsort example 2023-06-09 21:41:06 +07:00
Alex Sharov
8f2e5802dd
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. Make re-org cheaper. (#1013) 2023-06-05 05:36:54 +00:00
alex.sharov
52fb055974 save 2023-06-05 11:43:40 +07:00
alex.sharov
1a7aac338e save 2023-06-02 08:15:18 +07:00
Alex Sharov
9a408d5d41
Downloader fix no race between .Download() and .Stats() (#1004) 2023-06-01 09:04:06 +00:00
Alex Sharov
cf41b09ed2
remove "db" log line from (#995) 2023-05-14 01:42:51 +00:00
ledgerwatch
1113e19aca
Separate logs for kv/remotedbserver (#993)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-10 16:09:09 +00:00
Alex Sharov
160ecd927e
reduce default --db.size.limit from 7 to 3 Tb (to fit defaults of some systems) (#992) 2023-05-10 02:43:17 +00:00
Alex Sharov
0e2883bf3f
LeakDetector: use it to find which resource was created but not closed (leaked) (#990) 2023-05-08 05:22:24 +00:00
Alex Sharov
1e70a0a4ee
e3: rethink meaning of kv_temporal.BeginRw() (#983) 2023-04-30 03:08:39 +00:00
Alex Sharov
546a2a4ccd
erigon backup: v0 of sub-command (#980) 2023-04-27 03:41:17 +00:00
alex.sharov
16d5e77056 save 2023-04-24 10:04:23 +07:00
Alex Sharov
b1183da945
e3: remove files when no readers (#978) 2023-04-23 04:55:13 +00:00
Alex Sharov
0d918d9f7d
add flag --db.size.limit (#973) 2023-04-17 12:49:08 +00:00
Andrew Ashikhmin
a6e2d936a3
Remove Parlia (#969) 2023-04-13 20:56:49 +00:00
Andrew Ashikhmin
9ef1a57e84
[interfaces] lower_snake_case field names (#967)
Pick up https://github.com/ledgerwatch/interfaces/pull/163
2023-04-12 09:59:02 +00:00
omahs
0d45034fbb
Fix: typos (#966)
Fix: typos
2023-04-07 02:06:34 +00:00
alex.sharov
691c293d11 clean 2023-03-26 12:23:40 +07:00
alex.sharov
b5c4b8266f clean 2023-03-26 12:22:22 +07:00
alex.sharov
b220ee207a clean 2023-03-26 12:18:36 +07:00
alex.sharov
daa2d67790 clean 2023-03-26 12:18:29 +07:00
Alex Sharov
0b9404adb8
add constant kv.Unlim=-1 (#955) 2023-03-26 03:18:07 +00:00
Alex Sharov
a4034d5cea
enable more linters (#954) 2023-03-25 05:13:20 +00:00
Alex Sharov
5160bef4bc
e3: DomainGetAsOf, DomainRange (#953) 2023-03-25 03:51:41 +00:00
Alex Sharov
f110e80dab
go 1.19 atomics (#951) 2023-03-23 05:11:20 +00:00
Alex Sharov
0915811f47
e3: domain range api simplify (#949) 2023-03-22 07:35:58 +00:00
Alex Sharov
24a5f38a85
e3: unionKV limit (#948) 2023-03-22 06:58:07 +00:00
Alex Sharov
c2b85725c8
e3: union limit (#947) 2023-03-22 06:38:02 +00:00
Alex Sharov
39f1d090c6
e3: remove settings table (#946) 2023-03-22 05:21:11 +00:00
Alex Sharov
e143f7756f
e3: history no auto-increment (#935) 2023-03-15 06:47:48 +00:00
Jason Yellick
820840bbbb
Fix broken doc link (#934)
The [KV
Readme.md](https://github.com/ledgerwatch/erigon-lib/tree/main/kv#ethdbabstractkv-design)
currently references `dupsort.md` which is in the original Erigon repo,
so the link is broken. This simply fixes the reference to point back to
the main repo.

Co-authored-by: Jason Yellick <jason@enya.ai>
2023-03-14 15:43:07 +07:00
Alex Sharov
b968398cbd
e3: split "changed keys" iterator to simplify (#933) 2023-03-13 08:06:37 +00:00
alex.sharov
c3c270fdf5 rawdb: txnums.Last 2023-03-10 15:14:03 +07:00
alex.sharov
25d913c676 better iter dup 2023-03-09 09:57:16 +07:00