This file contains hidden or 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
{ | |
"validators": [ | |
{ | |
"pub_key": { | |
"type": "AC26791624DE60", | |
"value": "MHvOGQTGlMQB0ZbDRhqH7Ty6Xbf8kONX9cLhkOHSlDM=" | |
}, | |
"power": 100, | |
"name": "" | |
}, |
This file contains hidden or 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
#!/bin/bash | |
current_proposal=$(gaiacli gov query-proposals --status VotingPeriod | tail -n 1 | cut -d'-' -f1) | |
known_proposal=$current_proposal | |
while true | |
do | |
current_proposal=$(gaiacli gov query-proposals --status VotingPeriod | tail -n 1 | cut -d'-' -f1) | |
if [ "$current_proposal" != "$known_proposal" ] | |
then |
This file contains hidden or 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
FROM ubuntu | |
ADD irislcd /usr/local/bin/irislcd | |
EXPOSE 1317 | |
EXPOSE 26657 | |
ENTRYPOINT ["irislcd"] |
This file contains hidden or 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
#!/bin/bash | |
echo What\'s the gentx directory? | |
read dir | |
file="/Users/suyu/Downloads/test/output.txt" | |
log="$dir"/basecoind.log | |
if [ -f "$file" ] | |
then |
This file contains hidden or 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
#!/bin/bash | |
echo What\'s the gentx directory? | |
read dir | |
iris init --home="$dir" --chain-id=fuxi-6000 | |
for filename in "$dir"/config/gentx/*.json; do | |
echo "$filename" |
This file contains hidden or 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
frequency=3 | |
chain="fuxi-7000" | |
IP="104.198.127.16" | |
NameFrom = "fuxi" | |
AddrFrom = "faa106nhdckyf996q69v3qdxwe6y7408pvyvufy0x2" | |
NameTo = "abc" |
This file contains hidden or 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
jq ".[].voter" response_1546671895758.json | |
iristool debug addr faa1yclscskdtqu9rgufgws293wxp3njsesxtplqxd | grep Val| cut -d ':' -f 2 | |
fva1yclscskdtqu9rgufgws293wxp3njsesx7s40m2 | |
#!/bin/bash | |
file=$(echo /Users/suyu/Downloads/response_1546671895758.json) |
This file contains hidden or 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
frequency=3 | |
chain="fuxi-7000" | |
IP="35.240.175.204" | |
NameFrom = "jan" | |
AddrFrom = "faa1vrk67ykn3zcpw34ypchuqwfqxy2v6st970cg50" | |
NameTo = "feb" |
This file contains hidden or 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
package transform | |
import ( | |
"github.com/spf13/cobra" | |
"github.com/tendermint/go-amino" | |
"github.com/irisnet/irishub/codec" | |
"github.com/irisnet/irishub/app" | |
"github.com/irisnet/irishub/server" | |
"github.com/spf13/viper" |
OlderNewer