diff --git a/gateway.go b/gateway.go index 7e64b56..d239ac0 100644 --- a/gateway.go +++ b/gateway.go @@ -7,4 +7,5 @@ type Gateway struct { Writable bool PathPrefixes []string APICommands []string + FetchBlocks bool } diff --git a/init.go b/init.go index a6e70b7..8b7e588 100644 --- a/init.go +++ b/init.go @@ -67,6 +67,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { "Access-Control-Allow-Headers": []string{"X-Requested-With", "Range"}, }, APICommands: []string{}, + FetchBlocks: true, }, Reprovider: Reprovider{ Interval: "12h",