-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[R4R] replace ioutil with io/os (#852)
* sidechain staking reward distribution * update changelog and version * use io and os to replace ioutil * use io and os to replace ioutil Co-authored-by: forcodedancing <[email protected]>
- Loading branch information
1 parent
c321967
commit aea487c
Showing
12 changed files
with
32 additions
and
42 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 |
---|---|---|
|
@@ -34,8 +34,7 @@ $ export BNBCHAINPATH=~/go/src/github.com/bnb-chain/node | |
$ mkdir -p $BNBCHAINPATH | ||
$ git clone [email protected]:bnb-chain/node.git $BNBCHAINPATH | ||
$ cd $BNBCHAINPATH | ||
$ make get_vendor_deps | ||
$ make install | ||
$ make build | ||
``` | ||
|
||
> If you want run bnbchaind with cleveldb as backend, please ensure leveldb is installed: https://github.com/google/leveldb#building, | ||
|
@@ -52,8 +51,7 @@ You may need add BNBCHAINPATH to the environment variables. | |
> md %BNBCHAINPATH% | ||
> git clone [email protected]:bnb-chain/node.git %BNBCHAINPATH% | ||
> cd %BNBCHAINPATH% | ||
> make get_vendor_deps | ||
> make install | ||
> make build | ||
``` | ||
|
||
> If you encounter some network issues when downloading the dependencies, make sure you have configured shadowsocks correctly and switch to global mode. Run `set(win)/export(linux/mac) https_proxy=127.0.0.1:1080` if you still have https issues. | ||
|
@@ -76,7 +74,7 @@ $ cat ~/.bnbchaind/config/genesis.json | |
You may want to check the [Issuing assets](#issuing-assets) section below before you start, but this is how to start the node and begin generating blocks: | ||
|
||
```bash | ||
$ bnbchaind start | ||
$ bnbchaind start --moniker ${YOURNAME} | ||
``` | ||
|
||
If everything worked you will see blocks being generated around every 1s in your console. | ||
|
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
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