dmdv
dmdv
https://github.com/0chain/0chain/blob/staging/code/go/0chain.net/core/common/mdw_recover.go#L32 ```golang return func(w http.ResponseWriter, r *http.Request) { defer func() { if err := recover(); err != nil { logging.Logger.Error("panic handling message", zap.Any("error", err), zap.String("remote address", r.RemoteAddr), zap.String("method", r.Method), zap.String("request...
``` type MintPayload struct { EthereumTxnID string `json:"ethereum_txn_id"` Amount state.Balance `json:"amount"` Nonce int64 `json:"nonce"` Signatures []*AuthorizerSignature `json:"signatures"` ReceivingClientID string `json:"receiving_client_id"` } ```
Why merkle tree can't be from 1 node? https://github.com/txaty/go-merkletree/blob/ccfc3d24289d9c28111edc02f688b8bef9f45fb7/merkle_tree.go#L104 Even if there's just one mode, we still can compute 1 node merkle tree. What is the standard solution?
### Summary I need to query all events about all stakings from the node. Like in ethereum where we can get all events from smart contracts using events, the same...