Skip to content

Commit

Permalink
disable preimage checking by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Jan 28, 2023
1 parent 2f5a423 commit 9dfc96d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ No configuration is needed for a quick test, but you can write a file at `$LIGHT

"requireSecret": false, // setting this to true will make it so only clients with this secret can get hosted channels
"permanentSecrets": [], // you can specify static secrets here that can be used by clients when "requireSecret" is true
"disablePreimageChecking": false // setting this to true will make it so poncho won't fetch and parse all bitcoin blocks looking for rogue preimages
"disablePreimageChecking": true // setting this to false will make it so poncho will fetch and parse all bitcoin blocks
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/Config.scala
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ object Config {
hexColor = "#ffffff",
requireSecret = false,
permanentSecrets = List.empty,
disablePreimageChecking = false
disablePreimageChecking = true
)
}

0 comments on commit 9dfc96d

Please sign in to comment.