mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 12:01:20 +00:00
8e3ac8a21c
* Erigon2 upgrade 2 prototype * Latest erigon-lib * Fixes * Fix print * Fix maxSpan * Reduce maxSpan * Remove duplicate joins * TxNum * Fix resuming * first draft of history22 * Introduce historical reads * Update to erigon-lib * Update erigon-lib * Update erigon-lib * Fixes and tracing for checkChangeSets * More trace * Print account details * fix getHeader * Update to erigon-lib main * Add tracer indices and event log indices * Fix calltracer * Fix calltracer * Duplicate rpcdaemon into rpcdaemon22 * Fix tests * Fix tests * Fix tests * Update to latest erigon-lib Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local> Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
46 lines
1.6 KiB
Go
46 lines
1.6 KiB
Go
package httpcfg
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon-lib/kv/kvcache"
|
|
"github.com/ledgerwatch/erigon/eth/ethconfig"
|
|
"github.com/ledgerwatch/erigon/node/nodecfg/datadir"
|
|
)
|
|
|
|
type HttpCfg struct {
|
|
Enabled bool
|
|
PrivateApiAddr string
|
|
WithDatadir bool // Erigon's database can be read by separated processes on same machine - in read-only mode - with full support of transactions. It will share same "OS PageCache" with Erigon process.
|
|
DataDir string
|
|
Dirs datadir.Dirs
|
|
HttpListenAddress string
|
|
EngineHTTPListenAddress string
|
|
TLSCertfile string
|
|
TLSCACert string
|
|
TLSKeyFile string
|
|
HttpPort int
|
|
EnginePort int
|
|
HttpCORSDomain []string
|
|
HttpVirtualHost []string
|
|
HttpCompression bool
|
|
API []string
|
|
Gascap uint64
|
|
MaxTraces uint64
|
|
WebsocketEnabled bool
|
|
WebsocketCompression bool
|
|
RpcAllowListFilePath string
|
|
RpcBatchConcurrency uint
|
|
DBReadConcurrency int
|
|
TraceCompatibility bool // Bug for bug compatibility for trace_ routines with OpenEthereum
|
|
TxPoolApiAddr string
|
|
TevmEnabled bool
|
|
StateCache kvcache.CoherentConfig
|
|
Snap ethconfig.Snapshot
|
|
Sync ethconfig.Sync
|
|
GRPCServerEnabled bool
|
|
GRPCListenAddress string
|
|
GRPCPort int
|
|
GRPCHealthCheckEnabled bool
|
|
StarknetGRPCAddress string
|
|
JWTSecretPath string // Engine API Authentication
|
|
}
|