def request_cb_announcements(self, peer, node, version):
    tip = node.getbestblockhash()
    peer.get_headers(locator=[int(tip, 16)], hashstop=0)
    msg = msg_sendcmpct()
    msg.version = version
    msg.announce = True
    peer.send_and_ping(msg)
def request_cb_announcements(self, peer, node, version):
    tip = node.getbestblockhash()
    peer.get_headers(locator=[int(tip, 16)], hashstop=0)
    msg = msg_sendcmpct()
    msg.version = version
    msg.announce = True
    peer.send_and_ping(msg)