erigon-pulse/p2p
Andrew Ashikhmin 7286a0fef7
Create in-memory MDBX inside dirs.Tmp (#5702)
Previously "in-memory" MDBX instances for fork validation and mining
were created inside `os.TempDir()`. We should create them inside
Erigon's datadir so that the file permissions and the disk are the same
as for the main database.

Prerequisite: https://github.com/ledgerwatch/erigon-lib/pull/676.
2022-10-11 16:49:38 +01:00
..
discover Enable prealloc linter (#5177) 2022-08-26 10:04:36 +07:00
dnsdisc Enable prealloc linter (#5177) 2022-08-26 10:04:36 +07:00
enode Create in-memory MDBX inside dirs.Tmp (#5702) 2022-10-11 16:49:38 +01:00
enr go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
nat Replace strings.Replace with strings.ReplaceAll (#5128) 2022-08-21 21:21:09 +07:00
netutil Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rlpx Enable gocritic linter (#5173) 2022-08-25 09:08:56 +07:00
simulations go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
dial_integration_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
dial_test.go Revert "Switch from eth/66 to eth/67 (#4549)" (#4562) 2022-06-28 13:42:35 +02:00
dial.go Enable gosec linter (#5083) 2022-08-17 12:18:19 +07:00
message_test.go p2p: move rlpx into separate package (#21464) 2020-10-06 14:12:09 +02:00
message.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
metrics.go MIT licensed metrics lib (#2462) 2021-07-29 17:27:46 +07:00
node_key_config.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
peer_error.go p2p: define DiscReason as uint8 (#4090) 2022-05-06 16:19:53 +01:00
peer_test.go Switch peerId from 256 to 512 bit (as in stable) (#3862) 2022-04-10 08:01:25 +01:00
peer.go Enable prealloc linter (#5177) 2022-08-26 10:04:36 +07:00
protocol.go Switch peerId from 256 to 512 bit (as in stable) (#3862) 2022-04-10 08:01:25 +01:00
server_test.go p2p: crawler-friendly handshake (#3982) 2022-04-28 23:21:22 +01:00
server.go Add support for eth/67 (#4564) 2022-07-08 11:14:16 +02:00
transport_test.go Refactor crypto.FromECDSAPub to MarshalPubkey/Std (#3797) 2022-03-31 11:06:20 +07:00
transport.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
util_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
util.go rename (#1978) 2021-05-20 19:25:53 +01:00