-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ko-matsu/feature/add-initialblockdownload…
…-opt feat: add checking initialblockdownload option
- Loading branch information
Showing
12 changed files
with
123 additions
and
55 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
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package main | ||
|
||
type environment struct { | ||
Host string `env:"GENERATE_BLOCK_CONNECTION_HOST"` | ||
FedpegScript string `env:"DYNAFED_FEDPEG_SCRIPT"` | ||
PakEntries []string `env:"DYNAFED_PAK" envSeparator:","` | ||
Network string `env:"GENERATE_BLOCK_CONNECTION_NETWORK"` | ||
Address string `env:"GENERATE_BLOCK_GENERATETOADDRESS"` | ||
RpcUserID string `env:"CONNECTION_PRC_USERID"` | ||
RpcPassword string `env:"CONNECTION_PRC_PASSWORD"` | ||
GenerateCount uint `env:"GENERATE_BLOCK_COUNT" envDefault:"1"` | ||
IgnoreEmptyMempool bool `env:"IGNORE_EMPTY_MEMPOOL"` | ||
Host string `env:"GENERATE_BLOCK_CONNECTION_HOST"` | ||
FedpegScript string `env:"DYNAFED_FEDPEG_SCRIPT"` | ||
PakEntries []string `env:"DYNAFED_PAK" envSeparator:","` | ||
Network string `env:"GENERATE_BLOCK_CONNECTION_NETWORK"` | ||
Address string `env:"GENERATE_BLOCK_GENERATETOADDRESS"` | ||
RpcUserID string `env:"CONNECTION_PRC_USERID"` | ||
RpcPassword string `env:"CONNECTION_PRC_PASSWORD"` | ||
GenerateCount uint `env:"GENERATE_BLOCK_COUNT" envDefault:"1"` | ||
IgnoreEmptyMempool bool `env:"IGNORE_EMPTY_MEMPOOL"` | ||
HasCheckInitialBlkDl bool `env:"HAS_CHECK_INITIAL_BLK_DL"` | ||
} |
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
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
package model | ||
|
||
type BlockChainInfo struct { | ||
Blocks uint64 | ||
BestBlockHash string | ||
Blocks uint64 | ||
BestBlockHash string | ||
IsInitialBlockDownload bool | ||
|
||
// elements only parameters | ||
CurrentFedpegScript string | ||
ExtensionSpace []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
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