module Messenger::Action::GetBlock

Included Modules

Extended Modules

Defined in:

cocol/node/messenger.cr

Constant Summary

PATH = "/blocks/:hash"

Instance Method Summary

Instance methods inherited from module Messenger::Action::Base

broadcast(to endpoint : String, body : String) : Void broadcast, get(from uri : URI) : HTTP::Client::Response? get, peer_uri(from peer : Messenger::Struct::Peer) : URI peer_uri, post(to uri : URI, body : String) : HTTP::Client::Response? post

Instance Method Detail

def call(block_hash : String, peer : Messenger::Struct::Peer) : Ledger::Block::Pow #

[View source]