-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added readme, automatic version assignment, fixed service update time…
…stamps
- Loading branch information
Showing
10 changed files
with
117 additions
and
34 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
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
## TEZPEAK | ||
|
||
Simple monitoring interface for tezos bakers. | ||
|
||
### Setup | ||
|
||
Right now there are two supported ways to run tezpeak: | ||
- as module of tezbake | ||
- as a standalone server with ami | ||
|
||
#### tezbake | ||
|
||
Since tezbake 0.13.0-alpha the tezpeak is natively supported module. You can setup it in 3 simple steps: | ||
1. `tezbake setup --peak` | ||
2. Adjust configuration as needed | ||
3. `tezbake start --peak` | ||
|
||
#### standalone | ||
|
||
TBD | ||
|
||
### Configuration | ||
|
||
The configuration is stored in `config.hjson` file. The default configuration is: | ||
|
||
```yaml | ||
{ | ||
# Id to show in the header | ||
id: "" | ||
# Address to listen on | ||
listen: 127.0.0.1:8733 | ||
# List of bakers to monitor | ||
bakers: [ | ||
] | ||
# Baker's node to connect to | ||
node: http://localhost:8732 | ||
# List of reference nodes to connect to | ||
# The reference nodes are used to get the rights and blocks if the baker's node is not available | ||
reference_nodes: { | ||
"Tezos Foundation": { | ||
address: https://rpc.tzbeta.net/ | ||
is_rights_provider: true | ||
is_block_provider: false | ||
}, | ||
"tzkt": { | ||
address: https://rpc.tzkt.io/mainnet/ | ||
is_rights_provider: false | ||
is_block_provider: true | ||
} | ||
} | ||
# The mode tezpeak should operate in | ||
# auto - if bound to localhost, it will operate in private mode if not, it will operate in public mode | ||
# public - assumes public environment, only readonly operations are allowed | ||
# private - assumes private environment, all operations are allowed | ||
mode: auto | ||
# The number of blocks to look for the rights | ||
# 50 means 25 blocks in the past and 25 blocks in the future | ||
block_window: 50 | ||
} | ||
``` | ||
|
||
Sample minimal configuration: | ||
```yaml | ||
{ | ||
listen: "0.0.0.0:8733" | ||
bakers: [ | ||
tz1P6WKJu2rcbxKiKRZHKQKmKrpC9TfW1AwM | ||
tz1hZvgjekGo7DmQjWh7XnY5eLQD8wNYPczE | ||
] | ||
} | ||
``` |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ dist | |
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* | ||
vite.config.ts.timestamp-* |
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