mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 19:02:28 +00:00
Block binary decoding + transaction types
This commit is contained in:
parent
0c9d2dd04e
commit
55b4ab4192
5 changed files with 96 additions and 15 deletions
|
@ -258,7 +258,8 @@ func (s *Server) handleInvCmd(inv *payload.Inventory, peer Peer) error {
|
|||
}
|
||||
|
||||
func (s *Server) handleBlockCmd(block *core.Block, peer Peer) error {
|
||||
fmt.Println("received a block yyyyyyeeeeeehhhhh!")
|
||||
fmt.Println("Block received")
|
||||
fmt.Printf("%+v\n", block)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue