Skip to content

Commit

Permalink
Add FetchBlocks config option
Browse files Browse the repository at this point in the history
  • Loading branch information
Voker57 committed Oct 10, 2018
1 parent 5a7f3c1 commit 9c41d63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ type Gateway struct {
Writable bool
PathPrefixes []string
APICommands []string
FetchBlocks bool
}
1 change: 1 addition & 0 deletions init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9c41d63

Please sign in to comment.