forked from btcsuite/btcd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use go 1.16 embed to pull sample config into binary - add GoGC and GoMaxProcs options to config, plus applying them in at startup - default config includes typical values for 4 core 8 thread pc with 4gb+ memory - altered initial setup to actually write the now embedded btcd.conf
- Loading branch information
mleku
committed
Oct 24, 2023
1 parent
72c44af
commit c08425a
Showing
4 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package main | ||
|
||
import _ "embed" | ||
|
||
//go:embed sample-btcd.conf | ||
var btcdConfFile string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters