Versions in this module Expand all Collapse all v1 v1.4.2 May 30, 2023 v1.4.0 May 30, 2023 Changes in this version + func BlockCollection(request *network.GetBodiesRequest, w net.Conn) error + func CandidateNodeVoting(r *network.CandidateNodeVotingRequest) (*network.CandidateNodeVotingResponse, error) + func Confirmation(r *network.ConfirmRequest) (*network.ConfirmResponse, error) + func DecryptData(binaryTx *[]byte) ([]byte, []byte, []byte, error) + func DisseminateTxs(rw io.ReadWriter) error + func Disseminator(rw io.ReadWriter) error + func HandleTCPRequest(rw net.Conn) + func MaxBlock() (*network.MaxBlockResponse, error) + func StopNetwork(req *network.StopNetworkRequest, w net.Conn) error + func SyncMatchineStateRes(request *network.BroadcastNodeConnInfoRequest) (*network.BroadcastNodeConnInfoResponse, error) + func TcpListener(laddr string) error + func UnmarshalTxPacket(dat []byte) ([][]byte, error) + type VotingRes struct + Err string + VoteMsgInfo network.VoteMsg + type VotingTotal struct + AgreeQuantity int64 + Data map[string]VotingRes + LocalAddress string + St int64