forked from hemilabs/heminetwork
-
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.
tbc: allow seeds to be overwritten (hemilabs#158)
* allow TBC seeds to be overwritten if cfg seeds are set, use those, otherwise use the defaults for the network chosen * fixed missing seeding * remove tbc Server.port * using string for seeds * use host for lookupip * added TBC_SEEDS env config * Update service/tbc/tbc.go Co-authored-by: Joshua Sing <joshua@bloq.com> * simplify NewPeer in localPeerManager * Update cmd/tbcd/tbcd.go Co-authored-by: Joshua Sing <joshua@bloq.com> * use AppendSlice * removed ports from variables * fix reflect handling of seeds * Update config/config.go Co-authored-by: Joshua Sing <joshua@bloq.com> * using 127.0.0.1 as default IP/host for localnet --------- Co-authored-by: Joshua Sing <joshua@bloq.com>
- Loading branch information
1 parent
dc66d42
commit ecf963b
Showing
4 changed files
with
56 additions
and
30 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
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