
cosmos-sdk
macrocan
这个作者很懒,什么都没留下…
展开
-
tendermint amino
Amino is an encoding library that can handle Interfaces. This is achieved by prefixing bytes before each “concrete type”.func Example() { defer func() { if e := recover(); e != nil { fmt.Println("Recovered:", e) } }() type Message interface{}原创 2020-05-21 10:47:05 · 300 阅读 · 0 评论 -
cosmos sdk tx
Tx interfacecosmos-sdk/types.go/tx_msg.go// Transactions objects must fulfill the Txtype Tx interface { // Gets the all the transaction's messages. GetMsgs() []Msg // ValidateBasic does a simple and lightweight validation check that doesn't // requ原创 2020-05-22 17:52:08 · 573 阅读 · 0 评论