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
module discovery | |
go 1.16 | |
replace github.com/hashicorp/memberlist => /workspace/mitum/tmp/memberlist | |
replace github.com/spikeekips/mitum => /workspace/mitum/src | |
require ( | |
github.com/alecthomas/kong v0.2.17 |
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
module sebak/blocks | |
go 1.16 | |
require ( | |
boscoin.io/sebak v0.0.0 | |
github.com/kr/pretty v0.2.1 // indirect | |
github.com/rs/zerolog v1.22.0 | |
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 | |
) |
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
module quic-client | |
go 1.16 | |
require ( | |
github.com/alecthomas/kong v0.2.16 | |
github.com/lucas-clemente/quic-go v0.20.1 | |
github.com/spikeekips/mitum v0.0.0-20210510103419-d223a7e16a42 | |
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 | |
) |
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
mitum | |
technical overview; Mon May 3 01:19:30 KST 2021 | |
spikeekips | |
developer | |
spikeekips@gmail.com | |
https://github.com/spikeekips | |
* consensus protocol |
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
import argparse | |
import os | |
import pprint # noqa | |
import requests | |
import sys | |
try: | |
_, TERMINAL_COLUMNS = os.popen('stty size', 'r').read().split() | |
except ValueError: |
This file has been truncated, but you can view the full file.
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
{"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 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 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 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 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" |