-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release0.8' of https://github.com/irisnet/irishub into …
…silei/release0.8
- Loading branch information
Showing
51 changed files
with
861 additions
and
417 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
## 0.8.0 | ||
|
||
*December 10th, 2018* | ||
*December 13th, 2018* | ||
|
||
- Upgrade tendermint to v0.27.0-dev1 | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,57 @@ | ||
# iriscli bank broadcast | ||
|
||
## Description | ||
|
||
This command is used for broadcasting a signed transaction to the network after generating a signed transaction | ||
offline with [sign](./sign.md). | ||
|
||
## Usage: | ||
|
||
``` | ||
iriscli bank broadcast [tx-file] [flags] | ||
``` | ||
## Flags | ||
| Name,shorthand | Type | Required | Default | Description | | ||
| -------------- | ------ | -------- | --------------------- | ------------------------------------------------------------ | | ||
| -h, --help | | False | | help for account | | ||
| --chain-id | String | False | | Chain ID of tendermint node | | ||
| --height | Int | False | | Block height to query, omit to get most recent provable block | | ||
| --ledger | String | False | | Use a connected Ledger device | | ||
| --node | String | False | tcp://localhost:26657 | <host>:<port> to tendermint rpc interface for this chain | | ||
| --trust-node | String | False | True | Don't verify proofs for responses | | ||
## Global Flags | ||
| Name,shorthand | Default | Description | Required | Type | | ||
| --------------------- | -------------- | ------------------------------------------- | -------- | ------ | | ||
| -e, --encoding string | hex | String Binary encoding (hex \|b64 \|btc ) | False | String | | ||
| --home string | /root/.iriscli | Directory for config and data | False | String | | ||
| -o, --output string | text | Output format (text \|json) | False | String | | ||
| --trace | | Print out full stack trace on errors | False | | | ||
## Examples | ||
### Broadcast your transaction | ||
``` | ||
iriscli bank broadcast sign.json --chain-id=irishub-stage | ||
``` | ||
After that, you will get the commit info of this transaction. | ||
``` | ||
Committed at block 2265 (tx hash: A60224C8433487D48C8B03B51CB7A2BCB014932A97A55D946E5F30E561E1195E, response: {Code:0 Data:[] Log:Msg 0: Info: GasWanted:200000 GasUsed:4690 Tags:[{Key:[115 101 110 100 101 114] Value:[102 97 97 49 57 97 97 109 106 120 51 120 115 122 122 120 103 113 104 114 104 48 121 113 100 52 104 107 117 114 107 101 97 55 102 54 100 52 50 57 121 120] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0} {Key:[114 101 99 105 112 105 101 110 116] Value:[102 97 97 49 57 97 97 109 106 120 51 120 115 122 122 120 103 113 104 114 104 48 121 113 100 52 104 107 117 114 107 101 97 55 102 54 100 52 50 57 121 120] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0} {Key:[99 111 109 112 108 101 116 101 67 111 110 115 117 109 101 100 84 120 70 101 101 45 105 114 105 115 45 97 116 116 111] Value:[34 57 51 56 48 48 48 48 48 48 48 48 48 48 48 34] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}] Codespace: XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}) | ||
{ | ||
"tags": { | ||
"completeConsumedTxFee-iris-atto": "\"93800000000000\"", | ||
"recipient": "faa19aamjx3xszzxgqhrh0yqd4hkurkea7f6d429yx", | ||
"sender": "faa19aamjx3xszzxgqhrh0yqd4hkurkea7f6d429yx" | ||
} | ||
} | ||
``` |
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 |
---|---|---|
@@ -1,27 +1,36 @@ | ||
# iriscli tendermint | ||
# iris tendermint | ||
|
||
## Description | ||
|
||
Tendermint state querying subcommands | ||
This command will return some Tendermint related info to you. | ||
|
||
## Usage | ||
|
||
``` | ||
iriscli tendermint [command] | ||
```shell | ||
iris tendermint [command] | ||
``` | ||
|
||
## Available Commands | ||
|
||
| Name, shorthand | Description | | ||
| --------------- | -------------------------- | | ||
| [tx](tx.md) | Matches this txhash over all committed blocks | | ||
| txs | Search for all transactions that match the given tags | | ||
| [block](block.md)| Get verified data for a the block at given height | | ||
| [validator-set](validator-set.md) | Get the full tendermint validator set at given height | | ||
|
||
| Name | Description | | ||
| ----------------------- | -------------------------------------------------------------------------------------------- | | ||
| [show-node-id](show-node-id.md) | | | ||
| [show-validator](show-validator.md) | | | ||
| [show-address](show-address.md) | | | ||
|
||
## Flags | ||
|
||
|Name, shorthand|Description| | ||
|--- |--- | | ||
|--help,-h |help for tendermint| | ||
| Name, shorthand | Default | Description | Required | | ||
| --------------- | ------- | ------------- | -------- | | ||
| --help, -h | | Help for keys | | | ||
|
||
## Global Flags | ||
|
||
| Name, shorthand | Default | Description | Required | | ||
| --------------- | -------------- | -------------------------------------- | -------- | | ||
| --encoding, -e | hex | [string] Binary encoding (hex|b64|btc) | | | ||
| --home | $HOME/.iriscli | [string] Directory for config and data | | | ||
| --output, -o | text | [string] Output format (text|json) | | | ||
| --trace | | Print out full stack trace on errors | | | ||
|
||
|
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,43 @@ | ||
# iris tendermint show-address | ||
|
||
## Description | ||
|
||
Shows this node's tendermint validator address, this could be used for staking commands like: `iriscli stake validator` | ||
|
||
## Usage | ||
|
||
``` | ||
iris tendermint show-address [flags] | ||
``` | ||
|
||
## Flags | ||
|
||
| Name, shorthand | Default | Description | Required | | ||
| -------------------- | ----------------- | -------------------------------------------------------------- | -------- | | ||
| --help, -h | | help for show | | | ||
|
||
## Global Flags | ||
|
||
| Name,shorthand | Default | Description | Required | Type | | ||
| --------------------- | -------------- | ------------------------------------------- | -------- | ------ | | ||
| -e, --encoding string | hex | String Binary encoding (hex \|b64 \|btc ) | False | String | | ||
| --home string | /root/.iriscli | Directory for config and data | False | String | | ||
| -o, --output string | text | Output format (text \|json) | False | String | | ||
| --trace | | Print out full stack trace on errors | False | | | ||
|
||
## Examples | ||
|
||
### Show Public Key of Your Node | ||
|
||
```shell | ||
iris tendermint show-address --home={iris-home} | ||
``` | ||
The sample output could be: | ||
```$xslt | ||
fva17vgjsua3309q6cvhpqcf8zstqxfjrumj4t26jh | ||
``` | ||
|
||
The output is encoded in Bech32, to read more about this encoding method, read [this](../../features/basic-concepts/bech32-prefix.md) | ||
|
||
The result could be used to query a validators info. Read more [here](../stake/validator.md) |
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,40 @@ | ||
# iris tendermint show-node-id | ||
|
||
## Description | ||
|
||
Show the id of your node, this id will be used for making connection between peers. | ||
|
||
## Usage | ||
|
||
``` | ||
iris tendermint show-node-id [flags] | ||
``` | ||
|
||
## Flags | ||
|
||
| Name, shorthand | Default | Description | Required | | ||
| -------------------- | ----------------- | -------------------------------------------------------------- | -------- | | ||
| --help, -h | | help for show | | | ||
|
||
## Global Flags | ||
|
||
| Name,shorthand | Default | Description | Required | Type | | ||
| --------------------- | -------------- | ------------------------------------------- | -------- | ------ | | ||
| -e, --encoding string | hex | String Binary encoding (hex \|b64 \|btc ) | False | String | | ||
| --home string | /root/.iriscli | Directory for config and data | False | String | | ||
| -o, --output string | text | Output format (text \|json) | False | String | | ||
| --trace | | Print out full stack trace on errors | False | | | ||
|
||
## Examples | ||
|
||
### Show Public Key of Your Node | ||
|
||
```shell | ||
iris tendermint show-node-id --home={iris-home} | ||
``` | ||
The sample output could be: | ||
```$xslt | ||
b18d3d1990c886555241f91331f9c00fe69421aa | ||
``` | ||
|
Oops, something went wrong.