.
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
mitum | |
technical overview; Mon May 3 01:19:30 KST 2021 | |
spikeekips | |
developer | |
[email protected] | |
https://github.com/spikeekips | |
* consensus protocol |
This file has been truncated, but you can view the full file.
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
{"l":"debug","module":"command-run","t":"2020-12-10T08:31:32.321141991+09:00","caller":"/workspace/mitum/src/launch/cmds/cmd.go:84","m":"maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined"} | |
{"l":"debug","module":"command-run","flags":{"Verbose":true,"LogColor":false,"LogLevel":"debug","LogFormat":"json","LogFile":["/dev/stdout"],"EnableProfiling":false,"MemProf":"mitum-mem.pprof","CPUProf":"mitum-cpu.pprof","TraceProf":"mitum-trace.pprof","Design":"address: n3-010a:0.0.1\nprivatekey: Kzu4TZrHrNwoCkJfjbw3vsZ3x6Vea4dajrPdTc68eZFuNECXKZHH-0112:0.0.1\n# NOTE publickey: pEdnzHp8WhBSWutZFRGXuXL3HoLcjyspFBCrA2M2NASU-0113:0.0.1\nstorage:\n uri: mongodb://127.0.0.1:27017/n3\n blockfs:\n path: ./blockfs/n3\n wide-open: true\nnetwork-id: mitum-currency-2020-11\n\nnetwork:\n bind: quic://0.0.0.0:54323\n url: quic://127.0.0.1:54323\n\npolicy:\n threshold: 67\n\ngenesis-operations:\n - type: genesis-account\n # NOTE address: GpuBtcSa7WKx7n1Zq4WYT2GHzwqDJXhceCQLzucMJWmg-a000:0.0.1\n |
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 currency | |
import ( | |
"context" | |
"fmt" | |
"testing" | |
"time" | |
"github.com/spikeekips/mitum/base" | |
"github.com/spikeekips/mitum/base/ballot" |
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 main | |
import ( | |
"fmt" | |
"go/ast" | |
"go/parser" | |
"go/token" | |
"os" | |
"path/filepath" | |
"strings" |
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
func (c *Config) Clone() *Config { | |
copy := *c | |
return © | |
} |
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 main | |
import ( | |
"fmt" | |
"go/ast" | |
"go/importer" | |
"go/parser" | |
"go/token" | |
"go/types" | |
"os" |
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 main | |
import ( | |
"encoding/json" | |
"fmt" | |
"reflect" | |
) | |
type Something interface{} |
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
set grid | |
set title 'TreeGenerator Elapsed Time' | |
set xlabel 'number of added nodes' | |
set ylabel 'elapsed(ms)' | |
plot '/tmp/tg.dat' with points linetype 9 notitle |
for i in seoul tokyo california sydney
do
aws --profile tokennet-public-aws0-$i ec2 import-key-pair --key-name tokennet-public --public-key-material MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyo+KRVKL0e+oA6EcI0bJFETKklKJv/d+c4SHqezQnfjYWjmq9wfJfIhEAl3qPM2eK675YFZ0mxEM8o6wCMv7mSS84tPXHeO3HS1oduc8naE4K3cxbgEFuV5gWan/RBb/kSq0rNzwxTaFD2+Xv8zRHX+GjV7ojmS+15c1FwvptgLe4VGS49JbkVmxJAQm5Vg7Qc5qL/B0qGzzie3bYq1c3CIvo2+ECwEA6cG+y90CZDWOaeZz1TWzXgNtonpG0fIepY5mHFTeeLoEeuRoacz0bU6hHC3rKkeIhn7WKyUHMRDVuxl8lcszh31isR6qj/D6zuD8mBDk4IXEOjYZBEOyuQIDAQAB
aws --profile tokennet-public-aws1-$i ec2 import-key-pair --key-name tokennet-public --public-key-material MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyo+KRVKL0e+oA6EcI0bJFETKklKJv/d+c4SHqezQnfjYWjmq9wfJfIhEAl3qPM2eK675YFZ0mxEM8o6wCMv7mSS84tPXHeO3HS1oduc8naE4K3cxbgEFuV5gWan/RBb/kSq0rNzwxTaFD2+Xv8zRHX+GjV7ojmS+15c1FwvptgLe4VGS49JbkVmxJAQm5Vg7Qc5qL/B0qGzzie3bYq1c3CIvo2+ECwEA6cG+y90CZDWOaeZz1TWzXgNtonpG0fIepY5mHFTeeLoEeuRoa