org.bitcoinj.core.Message Java Examples

The following examples show how to use org.bitcoinj.core.Message. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractPeerEventListener.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Message onPreMessageReceived(Peer peer, Message m) {
    // Just pass the message right through for further processing.
    return m;
}
 
Example #2
Source File: AbstractPeerEventListener.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<Message> getData(Peer peer, GetDataMessage m) {
    return null;
}
 
Example #3
Source File: AbstractPeerEventListener.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Message onPreMessageReceived(Peer peer, Message m) {
    // Just pass the message right through for further processing.
    return m;
}
 
Example #4
Source File: AbstractPeerEventListener.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<Message> getData(Peer peer, GetDataMessage m) {
    return null;
}
 
Example #5
Source File: ElementsTransaction.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public ElementsTransaction(final NetworkParameters params, final byte[] payload, final int offset, final Message parent, final MessageSerializer setSerializer, final int length) throws ProtocolException {
    super(params, payload, offset, parent, setSerializer, length);
    outWitness = new ArrayList<>();
}
 
Example #6
Source File: AbstractPeerEventListener.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Message onPreMessageReceived(Peer peer, Message m) {
    // Just pass the message right through for further processing.
    return m;
}
 
Example #7
Source File: AbstractPeerEventListener.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
@Override
public List<Message> getData(Peer peer, GetDataMessage m) {
    return null;
}