Documentation ¶
Index ¶
- func DecryptData(binaryTx *[]byte) ([]byte, []byte, []byte, error)
- func HandleTCPRequest(rw net.Conn)
- func TcpListener(laddr string) error
- func Type1(rw io.ReadWriter) error
- func Type10() (*network.MaxBlockResponse, error)
- func Type2(rw io.ReadWriter) (*network.DisTrResponse, error)
- func Type3(req *network.StopNetworkRequest, w net.Conn) error
- func Type4(r *network.ConfirmRequest) (*network.ConfirmResponse, error)
- func Type7(request *network.GetBodiesRequest, w net.Conn) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptData ¶
DecryptData is decrypting data
func Type1 ¶
func Type1(rw io.ReadWriter) error
Type1 get the list of transactions which belong to the sender from 'disseminator' daemon do not load the blocks here because here could be the chain of blocks that are loaded for a long time download the transactions here, because they are small and definitely will be downloaded in 60 sec
func Type10 ¶
func Type10() (*network.MaxBlockResponse, error)
Type10 sends the last block ID blocksCollection daemon sends this request
func Type2 ¶
func Type2(rw io.ReadWriter) (*network.DisTrResponse, error)
Type2 serves requests from disseminator
func Type4 ¶
func Type4(r *network.ConfirmRequest) (*network.ConfirmResponse, error)
Type4 writes the hash of the specified block The request is sent by 'confirmations' daemon
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.