Skip to content

Commit

Permalink
Update version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
whitebit-robot committed Aug 4, 2023
1 parent 77a73b9 commit 40319e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Open a terminal or command prompt, then enter:
docker run --rm -it \
--name wbt -v /Users/alice/wbt:/root \
-p 8545:8545 -p 30303:30303 \
whitebit/wbt:0.3.0 --wbt-testnet
whitebit/wbt:1.0.0 --wbt-mainnet
```

This will start `geth` in snap-sync mode with a DB memory allowance of 1GB just as the
Expand All @@ -71,13 +71,14 @@ Do not forget `--http.addr 0.0.0.0`, if you want to access RPC from other contai
and/or hosts. By default, `geth` binds to the local interface and RPC endpoints are not
accessible from the outside.

If you want to run WhiteBIT testnet node, you need to start `geth` with `--wbt-testnet` instead of `--wbt-mainnet`.

#### Monitor logs
You can check if your node has started syncing by looking for the following log messages:
```text
INFO [04-12|09:59:58.554] Imported new block receipts count=21 elapsed=10.245ms number=21 hash=f4b1f9..0b33a4 age=1w4d20h size=7.25KiB
INFO [04-12|09:59:58.645] Imported new block headers count=192 elapsed=105.222ms number=768 hash=0fc521..d533e8 age=1w4d19h
INFO [04-12|09:59:58.670] Imported new block receipts count=21 elapsed=5.967ms number=42 hash=f6c9ed..38c629 age=1w4d20h size=7.16KiB
INFO [04-12|09:59:58.673] Imported new block receipts count=11 elapsed=2.979ms number=53 hash=c78894..0acd7c age=1w4d20h size=3.84KiB
INFO [08-04|12:00:00.000] Block synchronisation started
INFO [08-04|12:00:00.001] Syncing: state download in progress synced=6.25% state=302.12KiB [email protected] [email protected] [email protected] eta=17.148s
INFO [08-04|12:00:00.002] Syncing: chain download in progress synced=0.01% chain=18.00B [email protected] [email protected] [email protected] eta=1h49m39.978s
```

## Building the source
Expand Down Expand Up @@ -125,10 +126,10 @@ Minimum:

CPU with 2+ cores
8GB RAM
100GB free storage space to sync the Testnet
100GB free storage space to sync the blockchain
8 MBit/sec download Internet service

Recommended (Testnet):
Recommended:
Fast CPU with 4+ cores
16GB+ RAM
High-performance SSD with at least 500GB of free space
Expand All @@ -140,14 +141,14 @@ As an alternative to passing the numerous flags to the `geth` binary, you can al
configuration file via:

```shell
$ geth --wbt-testnet --config /path/to/your_config.toml
$ geth --wbt-mainnet --config /path/to/your_config.toml
```

To get an idea how the file should look like you can use the `dumpconfig` subcommand to
export your existing configuration:

```shell
$ geth --wbt-testnet --your-favourite-flags dumpconfig
$ geth --wbt-mainnet --your-favourite-flags dumpconfig
```

### Programmatically interfacing `geth` nodes
Expand Down
4 changes: 2 additions & 2 deletions params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
)

const (
VersionMajor = 0 // Major version component of the current release
VersionMinor = 3 // Minor version component of the current release
VersionMajor = 1 // Major version component of the current release
VersionMinor = 0 // Minor version component of the current release
VersionPatch = 0 // Patch version component of the current release
VersionMeta = "stable" // Version metadata to append to the version string
)
Expand Down

0 comments on commit 40319e5

Please sign in to comment.