Skip to content

Instantly share code, notes, and snippets.

View test-all.sh
#!/bin/bash
#set -x
finish() {
tput sgr0
docker volume prune -f
docker container prune -f
}
View 201-passthrough.patch
diff --git a/base/node/errors.go b/base/node/errors.go
new file mode 100644
index 0000000..c66df3b
--- /dev/null
+++ b/base/node/errors.go
@@ -0,0 +1,23 @@
+package node
+
+import "github.com/spikeekips/mitum/base"
+
@spikeekips
spikeekips / go.mod
Last active Jul 21, 2021
mitum discovery command
View go.mod
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
@spikeekips
spikeekips / go.mod
Created May 25, 2021
sebak operations until 2232370
View go.mod
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
)
@spikeekips
spikeekips / go.mod
Last active May 17, 2021
quic client cli of mitum
View go.mod
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
)
View mitum-tech-overview.slide
mitum
technical overview; Mon May 3 01:19:30 KST 2021
spikeekips
developer
spikeekips@gmail.com
https://github.com/spikeekips
* consensus protocol
View n3-1607556691-n3.log
This file has been truncated, but you can view the full file.
{"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"}
View mitum-currency-store-block_test.go
package currency
import (
"context"
"fmt"
"testing"
"time"
"github.com/spikeekips/mitum/base"
"github.com/spikeekips/mitum/base/ballot"
@spikeekips
spikeekips / gcmt.go
Last active May 23, 2020
parse and print comments from go source file.
View gcmt.go
package main
import (
"fmt"
"go/ast"
"go/parser"
"go/token"
"os"
"path/filepath"
"strings"
View golang-clone.go
func (c *Config) Clone() *Config {
copy := *c
return &copy
}