|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Block objects, links them together, and knows how to verify that
the chain follows the rules of the NetworkParameters for this chain.BlockChainListener.PeerEventListener.WalletEventListener.repeated bytes block_hash = 8;
repeated int32 block_relativity_offsets = 11;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated bytes certificate = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .wallet.Extension extension = 10;
repeated .wallet.Key key = 3;
repeated .payments.Output outputs = 2;
repeated .payments.Output refund_to = 3;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated bytes transactions = 2;
repeated .wallet.Script watched_script = 15;
repeated bytes block_hash = 8;
repeated int32 block_relativity_offsets = 11;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated bytes certificate = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
PeerGroup.addEventListener(PeerEventListener, java.util.concurrent.Executor) but defaults
to running on the user thread.
WalletExtension interface, you can save and load arbitrary
additional data that will be stored with the wallet.
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
BlockChainListener listener to the chain.
BlockChainListener listener to the chain.
Wallet.addNewEncryptedKey(com.google.bitcoin.crypto.KeyCrypter,
org.spongycastle.crypto.params.KeyParameter) which just derives the key afresh and uses the pre-set
keycrypter.
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
Transaction.addSignedInput(TransactionOutPoint, com.google.bitcoin.script.Script, ECKey, com.google.bitcoin.core.Transaction.SigHash, boolean)
but defaults to Transaction.SigHash.ALL and "false" for the anyoneCanPay flag.
Block with the block store.
StoredBlock with the block store.
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated bytes transactions = 2;
StoredTransactionOutput to the list of unspent TransactionOutputs
Wallet.addWatchedAddress(Address, long) with the current time as the creation time.
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
BAD_TRANSACTION = 4;
BigInteger.toByteArray() method isn't quite what we often need: it appends a
leading zero to indicate that the number is positive and may need padding.
Message.unsafeBitcoinSerialize(), which is safe to mutate.
BitcoinURI:BlockChain and have its methods called when various things
happen that modify the state of the chain, for example: new blocks being received, a re-org occurring, or the
best chain head changing.StreamParser to process data.StreamParser to decode the data.
BlockingClients.PeerGroup.broadcastTransaction(Transaction,int) with getMinBroadcastConnections() as the number
of connections to wait for before commencing broadcast.
BUILDING = 1;
CHANNEL_OPEN = 7;
CHANNEL_VALUE_TOO_LARGE = 6;
PaymentChannelClient.incrementPayment(java.math.BigInteger)
may be called at will.
PaymentChannelClientState.State.EXPIRED, removing this channel from wallet
storage and throwing an IllegalStateException if it is.
StoredBlocks for blocks throughout the chain.optional uint64 amount = 1 [default = 0];
optional int32 appeared_at_height = 2;
optional bytes bestValueSignature = 2;
required uint64 bestValueToMe = 1;
repeated bytes block_hash = 8;
repeated int32 block_relativity_offsets = 11;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated bytes certificate = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
required uint64 client_change_value = 1;
required bytes clientOutput = 5;
optional .paymentchannels.ClientVersion client_version = 2;
optional bytes closeTransactionHash = 7;
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .wallet.TransactionConfidence confidence = 9;
required bytes contractTransaction = 2;
required bytes contractTransaction = 4;
optional int64 creation_timestamp = 5;
required int64 creation_timestamp = 2;
required bytes data = 2;
optional int32 depth = 4;
optional string description = 11;
required bytes encrypted_private_key = 2;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .paymentchannels.Error error = 10;
optional uint64 expected_value = 3;
optional uint64 expires = 4;
required uint64 expire_time_secs = 3;
optional string explanation = 2;
repeated .wallet.Extension extension = 10;
required bytes hash = 2;
required bytes id = 1;
required string id = 1;
required bytes initialisation_vector = 1;
required .paymentchannels.UpdatePayment initial_payment = 2;
optional .paymentchannels.Initiate initiate = 4;
required bytes ip_address = 1;
repeated .wallet.Key key = 3;
optional uint64 key_rotation_time = 13;
optional string label = 4;
optional bytes last_seen_block_hash = 2;
optional uint32 last_seen_block_height = 12;
optional int64 last_seen_block_time_secs = 14;
optional uint32 lock_time = 4;
required int32 major = 1;
required int32 major = 1;
required bool mandatory = 3;
optional string memo = 4;
optional string memo = 2;
optional string memo = 5;
optional bytes merchant_data = 1;
optional bytes merchant_data = 7;
required uint64 min_accepted_channel_size = 2;
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
required uint64 min_payment = 4;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes myKey = 4;
required bytes myKey = 6;
optional int64 n = 2 [default = 16384];
optional string network = 1 [default = "main"];
required string network_identifier = 1;
repeated .payments.Output outputs = 2;
optional bytes overriding_transaction = 3;
optional int32 p = 4 [default = 1];
required .payments.Payment payment = 1;
optional uint32 payment_details_version = 1 [default = 1];
optional string payment_url = 6;
optional bytes pki_data = 3;
optional string pki_type = 2 [default = "none"];
optional .wallet.Transaction.Pool pool = 3;
required uint32 port = 2;
optional bytes previous_channel_contract_hash = 3;
optional bytes private_key = 2;
required bytes program = 1;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional bytes public_key = 3;
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional int32 r = 3 [default = 8];
required uint64 refundFees = 6;
repeated .payments.Output refund_to = 3;
required bytes refundTransaction = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
optional .paymentchannels.ReturnRefund return_refund = 6;
required bytes salt = 1;
required bytes script = 2;
required bytes script_bytes = 3;
required bytes script_bytes = 2;
optional uint32 sequence = 4;
required bytes serialized_payment_details = 4;
optional .paymentchannels.ServerVersion server_version = 3;
required uint64 services = 3;
optional .paymentchannels.Settlement settlement = 9;
required bytes signature = 1;
required bytes signature = 2;
optional bytes signature = 5;
optional .wallet.TransactionConfidence.Source source = 7;
optional bytes spent_by_transaction_hash = 3;
optional int32 spent_by_transaction_index = 4;
required uint64 time = 3;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.TransactionInput transaction_input = 6;
required bytes transaction_out_point_hash = 1;
required uint32 transaction_out_point_index = 2;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated bytes transactions = 2;
required bytes tx = 1;
required bytes tx = 2;
required bytes tx = 3;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .wallet.Key.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional int64 updated_at = 5;
optional .paymentchannels.UpdatePayment update_payment = 8;
required int64 value = 1;
required uint64 valueToMe = 5;
required int32 version = 1;
optional int32 version = 7;
repeated .wallet.Script watched_script = 15;
optional int64 work_done = 5;
CLIENT_VERSION = 1;
paymentchannels.StoredClientPaymentChannelpaymentchannels.StoredClientPaymentChannelpaymentchannels.StoredClientPaymentChannelspaymentchannels.StoredClientPaymentChannelsServerConnection#destroyConnection(CloseReason).
CLOSE = 9;
ServerConnectionEventHandler.channelClosed(PaymentChannelCloseException.CloseReason) event)
ServerConnectionEventHandler.closeChannel() and
PaymentChannelServerState.close() to notify any connected client of channel closure and to complete and
broadcast the latest payment transaction.
StreamParser.connectionClosed()
event on the network-handling thread where all callbacks occur.
StreamParser.connectionClosed()
event on the network-handling thread where all callbacks occur.
ProtobufParser.connectionClosed() event.
CoinSelector.select(java.math.BigInteger, java.util.LinkedList) operation.CoinSelector to use instead of the wallets default.
DEAD = 10;
DEAD = 4;
CoinSelector which attempts to get the highest priority
possible.DeterministicHierarchy.StoredPaymentChannelClientStates to unopened so this channel can be reopened
later.
Wallet.setAcceptRiskyTransactions(boolean) for an explanation of this property.
Utils.doubleDigest(byte[], int, int).
AbstractPeerEventListener that listens to chain download events and tracks progress
as a percentage.Wallet.getBalance() - the fees required
for the transaction).
Wallet.encrypt(com.google.bitcoin.crypto.KeyCrypter,
org.spongycastle.crypto.params.KeyParameter) which uses the default Scrypt key derivation algorithm and
parameters, derives a key from the given password and returns the created key.
ENCRYPTED_SCRYPT_AES = 2;
ENCRYPTED_SCRYPT_AES = 2;
ERROR = 10;
BloomFilter.FullPrunedBlockStore to verify all the rules of the
Bitcoin system, with the downside being a larg cost in system resources.Transaction for the given hash if we have downloaded it, or null if that hash is unknown or
we only saw advertisements for it yet or it has been downloaded but garbage collected due to nowhere else
holding a reference to it.
AddressMessages from a peer.AlertMessages.
optional uint64 amount = 1 [default = 0];
optional uint64 amount = 1 [default = 0];
optional uint64 amount = 1 [default = 0];
optional int32 appeared_at_height = 2;
optional int32 appeared_at_height = 2;
optional int32 appeared_at_height = 2;
optional bytes bestValueSignature = 2;
optional bytes bestValueSignature = 2;
optional bytes bestValueSignature = 2;
required uint64 bestValueToMe = 1;
required uint64 bestValueToMe = 1;
required uint64 bestValueToMe = 1;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated bytes block_hash = 8;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
repeated int32 block_relativity_offsets = 11;
BlockStore the chain was constructed with.
BloomFilter set by Peer.setBloomFilter(BloomFilter).
PeerFilterProvider.getBloomFilter(int, double, long)
PeerAddresses that announced the transaction.
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
repeated bytes certificate = 1;
StoredBlock that represents the top of the chain of greatest total work.
StoredServerChannel with the given channel id (ie contract transaction hash).
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
StoredBlock representing the last checkpoint before the given time, for example, normally
you would want to know the checkpoint before the earliest wallet birthday.
DeterministicKey.getChildNumberPath()
DeterministicHierarchy which reaches this keys position in the tree.
required uint64 client_change_value = 1;
required uint64 client_change_value = 1;
required uint64 client_change_value = 1;
required bytes clientOutput = 5;
required bytes clientOutput = 5;
required bytes clientOutput = 5;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional bytes closeTransactionHash = 7;
optional bytes closeTransactionHash = 7;
optional bytes closeTransactionHash = 7;
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
CoinSelector object which controls which outputs can be spent by this wallet.
PaymentChannelClientState.provideRefundSignature(byte[]) then this
method can be called to receive the now valid and broadcastable refund transaction.
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
TransactionInput.connect(TransactionOutput) or variants at some point.
required bytes contractTransaction = 2;
required bytes contractTransaction = 2;
required bytes contractTransaction = 2;
required bytes contractTransaction = 4;
required bytes contractTransaction = 4;
required bytes contractTransaction = 4;
optional int64 creation_timestamp = 5;
optional int64 creation_timestamp = 5;
optional int64 creation_timestamp = 5;
required int64 creation_timestamp = 2;
required int64 creation_timestamp = 2;
required int64 creation_timestamp = 2;
required bytes data = 2;
required bytes data = 2;
required bytes data = 2;
optional int32 depth = 4;
optional int32 depth = 4;
optional int32 depth = 4;
optional string description = 11;
optional string description = 11;
optional string description = 11;
optional string description = 11;
optional string description = 11;
optional string description = 11;
ECKey.getCreationTimeSeconds().
required bytes encrypted_private_key = 2;
required bytes encrypted_private_key = 2;
required bytes encrypted_private_key = 2;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional uint64 expected_value = 3;
optional uint64 expected_value = 3;
optional uint64 expected_value = 3;
optional uint64 expires = 4;
optional uint64 expires = 4;
optional uint64 expires = 4;
required uint64 expire_time_secs = 3;
required uint64 expire_time_secs = 3;
required uint64 expire_time_secs = 3;
optional string explanation = 2;
optional string explanation = 2;
optional string explanation = 2;
optional string explanation = 2;
optional string explanation = 2;
optional string explanation = 2;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
DeterministicKey.getIdentifier().
required bytes hash = 2;
required bytes hash = 2;
required bytes hash = 2;
required bytes id = 1;
required bytes id = 1;
required bytes id = 1;
required string id = 1;
required string id = 1;
required string id = 1;
required string id = 1;
required string id = 1;
required string id = 1;
required bytes initialisation_vector = 1;
required bytes initialisation_vector = 1;
required bytes initialisation_vector = 1;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
required bytes ip_address = 1;
required bytes ip_address = 1;
required bytes ip_address = 1;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
optional uint64 key_rotation_time = 13;
optional uint64 key_rotation_time = 13;
optional uint64 key_rotation_time = 13;
optional string label = 4;
optional string label = 4;
optional string label = 4;
optional string label = 4;
optional string label = 4;
optional string label = 4;
Date representing the time extracted from the last best seen block header.
optional bytes last_seen_block_hash = 2;
optional bytes last_seen_block_hash = 2;
optional bytes last_seen_block_hash = 2;
optional uint32 last_seen_block_height = 12;
optional uint32 last_seen_block_height = 12;
optional uint32 last_seen_block_height = 12;
optional int64 last_seen_block_time_secs = 14;
optional int64 last_seen_block_time_secs = 14;
optional int64 last_seen_block_time_secs = 14;
optional uint32 lock_time = 4;
optional uint32 lock_time = 4;
optional uint32 lock_time = 4;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required bool mandatory = 3;
required bool mandatory = 3;
required bool mandatory = 3;
optional string memo = 4;
optional string memo = 4;
optional string memo = 2;
optional string memo = 2;
optional string memo = 2;
optional string memo = 5;
optional string memo = 5;
optional string memo = 5;
optional string memo = 4;
optional string memo = 4;
optional string memo = 4;
optional string memo = 2;
optional string memo = 2;
optional string memo = 2;
optional string memo = 5;
optional string memo = 5;
optional string memo = 5;
optional string memo = 4;
MemoryPool created by this peer group to synchronize its peers.
optional bytes merchant_data = 1;
optional bytes merchant_data = 1;
optional bytes merchant_data = 7;
optional bytes merchant_data = 7;
optional bytes merchant_data = 7;
optional bytes merchant_data = 1;
required uint64 min_accepted_channel_size = 2;
required uint64 min_accepted_channel_size = 2;
required uint64 min_accepted_channel_size = 2;
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
required uint64 min_payment = 4;
required uint64 min_payment = 4;
required uint64 min_payment = 4;
Peers.
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes myKey = 4;
required bytes myKey = 4;
required bytes myKey = 4;
required bytes myKey = 6;
required bytes myKey = 6;
required bytes myKey = 6;
optional int64 n = 2 [default = 16384];
optional int64 n = 2 [default = 16384];
optional int64 n = 2 [default = 16384];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
required string network_identifier = 1;
required string network_identifier = 1;
required string network_identifier = 1;
required string network_identifier = 1;
required string network_identifier = 1;
required string network_identifier = 1;
PaymentChannelServerState object for this channel, either by returning an existing one
or by creating a new one.
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
optional bytes overriding_transaction = 3;
optional bytes overriding_transaction = 3;
optional bytes overriding_transaction = 3;
optional int32 p = 4 [default = 1];
optional int32 p = 4 [default = 1];
optional int32 p = 4 [default = 1];
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
optional uint32 payment_details_version = 1 [default = 1];
optional uint32 payment_details_version = 1 [default = 1];
optional uint32 payment_details_version = 1 [default = 1];
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
optional string payment_url = 6;
optional string payment_url = 6;
optional string payment_url = 6;
optional string payment_url = 6;
optional string payment_url = 6;
optional string payment_url = 6;
optional bytes pki_data = 3;
optional bytes pki_data = 3;
optional bytes pki_data = 3;
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional .wallet.Transaction.Pool pool = 3;
optional .wallet.Transaction.Pool pool = 3;
optional .wallet.Transaction.Pool pool = 3;
required uint32 port = 2;
required uint32 port = 2;
required uint32 port = 2;
optional bytes previous_channel_contract_hash = 3;
optional bytes previous_channel_contract_hash = 3;
optional bytes previous_channel_contract_hash = 3;
optional bytes private_key = 2;
optional bytes private_key = 2;
optional bytes private_key = 2;
required bytes program = 1;
required bytes program = 1;
required bytes program = 1;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional bytes public_key = 3;
optional bytes public_key = 3;
optional bytes public_key = 3;
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional int32 r = 3 [default = 8];
optional int32 r = 3 [default = 8];
optional int32 r = 3 [default = 8];
required uint64 refundFees = 6;
required uint64 refundFees = 6;
required uint64 refundFees = 6;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
required bytes refundTransaction = 3;
required bytes refundTransaction = 3;
required bytes refundTransaction = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
RiskAnalysis implementation.
DeterministicHierarchy was created with.
required bytes salt = 1;
required bytes salt = 1;
required bytes salt = 1;
required bytes script = 2;
required bytes script = 2;
required bytes script = 2;
required bytes script_bytes = 3;
required bytes script_bytes = 3;
required bytes script_bytes = 3;
required bytes script_bytes = 2;
required bytes script_bytes = 2;
required bytes script_bytes = 2;
Wallet.SendRequest suitable for broadcasting to the network.
optional uint32 sequence = 4;
optional uint32 sequence = 4;
optional uint32 sequence = 4;
required bytes serialized_payment_details = 4;
required bytes serialized_payment_details = 4;
required bytes serialized_payment_details = 4;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
required uint64 services = 3;
required uint64 services = 3;
required uint64 services = 3;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
required bytes signature = 1;
required bytes signature = 1;
required bytes signature = 1;
required bytes signature = 2;
required bytes signature = 2;
required bytes signature = 2;
optional bytes signature = 5;
optional bytes signature = 5;
optional bytes signature = 5;
optional .wallet.TransactionConfidence.Source source = 7;
optional .wallet.TransactionConfidence.Source source = 7;
optional .wallet.TransactionConfidence.Source source = 7;
optional bytes spent_by_transaction_hash = 3;
optional bytes spent_by_transaction_hash = 3;
optional bytes spent_by_transaction_hash = 3;
optional int32 spent_by_transaction_index = 4;
optional int32 spent_by_transaction_index = 4;
optional int32 spent_by_transaction_index = 4;
required uint64 time = 3;
required uint64 time = 3;
required uint64 time = 3;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
required bytes transaction_out_point_hash = 1;
required bytes transaction_out_point_hash = 1;
required bytes transaction_out_point_hash = 1;
required uint32 transaction_out_point_index = 2;
required uint32 transaction_out_point_index = 2;
required uint32 transaction_out_point_index = 2;
StoredTransactionOutput with the given hash and index, or null if none is found
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
repeated bytes transactions = 2;
required bytes tx = 1;
required bytes tx = 1;
required bytes tx = 1;
required bytes tx = 2;
required bytes tx = 2;
required bytes tx = 2;
required bytes tx = 3;
required bytes tx = 3;
required bytes tx = 3;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .wallet.Key.Type type = 1;
required .wallet.Key.Type type = 1;
required .wallet.Key.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
StoredUndoableBlock whose block.getHash() method will be equal to the parameter.
optional int64 updated_at = 5;
optional int64 updated_at = 5;
optional int64 updated_at = 5;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
Transaction.getValueSentFromMe(Wallet) and Transaction.getValueSentToMe(Wallet).
required int64 value = 1;
required int64 value = 1;
required int64 value = 1;
required uint64 valueToMe = 5;
required uint64 valueToMe = 5;
required uint64 valueToMe = 5;
StoredBlock that represents the top of the chain of greatest total work that has
been fully verified and the point in the chain at which the unspent transaction output set in this
store represents.
required int32 version = 1;
required int32 version = 1;
required int32 version = 1;
optional int32 version = 7;
optional int32 version = 7;
optional int32 version = 7;
Wallet.addWatchedAddress(Address) or
Wallet.addWatchedScripts(java.util.List).
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
optional int64 work_done = 5;
optional int64 work_done = 5;
optional int64 work_done = 5;
optional uint64 amount = 1 [default = 0];
optional uint64 amount = 1 [default = 0];
optional uint64 amount = 1 [default = 0];
optional int32 appeared_at_height = 2;
optional int32 appeared_at_height = 2;
optional int32 appeared_at_height = 2;
optional bytes bestValueSignature = 2;
optional bytes bestValueSignature = 2;
optional bytes bestValueSignature = 2;
required uint64 bestValueToMe = 1;
required uint64 bestValueToMe = 1;
required uint64 bestValueToMe = 1;
required uint64 client_change_value = 1;
required uint64 client_change_value = 1;
required uint64 client_change_value = 1;
required bytes clientOutput = 5;
required bytes clientOutput = 5;
required bytes clientOutput = 5;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional bytes closeTransactionHash = 7;
optional bytes closeTransactionHash = 7;
optional bytes closeTransactionHash = 7;
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
required bytes contractTransaction = 2;
required bytes contractTransaction = 2;
required bytes contractTransaction = 2;
required bytes contractTransaction = 4;
required bytes contractTransaction = 4;
required bytes contractTransaction = 4;
optional int64 creation_timestamp = 5;
optional int64 creation_timestamp = 5;
optional int64 creation_timestamp = 5;
required int64 creation_timestamp = 2;
required int64 creation_timestamp = 2;
required int64 creation_timestamp = 2;
required bytes data = 2;
required bytes data = 2;
required bytes data = 2;
optional int32 depth = 4;
optional int32 depth = 4;
optional int32 depth = 4;
optional string description = 11;
optional string description = 11;
optional string description = 11;
required bytes encrypted_private_key = 2;
required bytes encrypted_private_key = 2;
required bytes encrypted_private_key = 2;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional uint64 expected_value = 3;
optional uint64 expected_value = 3;
optional uint64 expected_value = 3;
optional uint64 expires = 4;
optional uint64 expires = 4;
optional uint64 expires = 4;
required uint64 expire_time_secs = 3;
required uint64 expire_time_secs = 3;
required uint64 expire_time_secs = 3;
optional string explanation = 2;
optional string explanation = 2;
optional string explanation = 2;
required bytes hash = 2;
required bytes hash = 2;
required bytes hash = 2;
Object.hashCode().
required bytes id = 1;
required bytes id = 1;
required bytes id = 1;
required string id = 1;
required string id = 1;
required string id = 1;
required bytes initialisation_vector = 1;
required bytes initialisation_vector = 1;
required bytes initialisation_vector = 1;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
required bytes ip_address = 1;
required bytes ip_address = 1;
required bytes ip_address = 1;
optional uint64 key_rotation_time = 13;
optional uint64 key_rotation_time = 13;
optional uint64 key_rotation_time = 13;
optional string label = 4;
optional string label = 4;
optional string label = 4;
optional bytes last_seen_block_hash = 2;
optional bytes last_seen_block_hash = 2;
optional bytes last_seen_block_hash = 2;
optional uint32 last_seen_block_height = 12;
optional uint32 last_seen_block_height = 12;
optional uint32 last_seen_block_height = 12;
optional int64 last_seen_block_time_secs = 14;
optional int64 last_seen_block_time_secs = 14;
optional int64 last_seen_block_time_secs = 14;
optional uint32 lock_time = 4;
optional uint32 lock_time = 4;
optional uint32 lock_time = 4;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required int32 major = 1;
required bool mandatory = 3;
required bool mandatory = 3;
required bool mandatory = 3;
optional string memo = 4;
optional string memo = 4;
optional string memo = 2;
optional string memo = 2;
optional string memo = 2;
optional string memo = 5;
optional string memo = 5;
optional string memo = 5;
optional string memo = 4;
optional bytes merchant_data = 1;
optional bytes merchant_data = 1;
optional bytes merchant_data = 7;
optional bytes merchant_data = 7;
optional bytes merchant_data = 7;
optional bytes merchant_data = 1;
required uint64 min_accepted_channel_size = 2;
required uint64 min_accepted_channel_size = 2;
required uint64 min_accepted_channel_size = 2;
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
required uint64 min_payment = 4;
required uint64 min_payment = 4;
required uint64 min_payment = 4;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes myKey = 4;
required bytes myKey = 4;
required bytes myKey = 4;
required bytes myKey = 6;
required bytes myKey = 6;
required bytes myKey = 6;
optional int64 n = 2 [default = 16384];
optional int64 n = 2 [default = 16384];
optional int64 n = 2 [default = 16384];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
required string network_identifier = 1;
required string network_identifier = 1;
required string network_identifier = 1;
optional bytes overriding_transaction = 3;
optional bytes overriding_transaction = 3;
optional bytes overriding_transaction = 3;
optional int32 p = 4 [default = 1];
optional int32 p = 4 [default = 1];
optional int32 p = 4 [default = 1];
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
optional uint32 payment_details_version = 1 [default = 1];
optional uint32 payment_details_version = 1 [default = 1];
optional uint32 payment_details_version = 1 [default = 1];
optional string payment_url = 6;
optional string payment_url = 6;
optional string payment_url = 6;
optional bytes pki_data = 3;
optional bytes pki_data = 3;
optional bytes pki_data = 3;
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional .wallet.Transaction.Pool pool = 3;
optional .wallet.Transaction.Pool pool = 3;
optional .wallet.Transaction.Pool pool = 3;
required uint32 port = 2;
required uint32 port = 2;
required uint32 port = 2;
optional bytes previous_channel_contract_hash = 3;
optional bytes previous_channel_contract_hash = 3;
optional bytes previous_channel_contract_hash = 3;
optional bytes private_key = 2;
optional bytes private_key = 2;
optional bytes private_key = 2;
required bytes program = 1;
required bytes program = 1;
required bytes program = 1;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional bytes public_key = 3;
optional bytes public_key = 3;
optional bytes public_key = 3;
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional int32 r = 3 [default = 8];
optional int32 r = 3 [default = 8];
optional int32 r = 3 [default = 8];
required uint64 refundFees = 6;
required uint64 refundFees = 6;
required uint64 refundFees = 6;
required bytes refundTransaction = 3;
required bytes refundTransaction = 3;
required bytes refundTransaction = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
required bytes salt = 1;
required bytes salt = 1;
required bytes salt = 1;
required bytes script = 2;
required bytes script = 2;
required bytes script = 2;
required bytes script_bytes = 3;
required bytes script_bytes = 3;
required bytes script_bytes = 3;
required bytes script_bytes = 2;
required bytes script_bytes = 2;
required bytes script_bytes = 2;
optional uint32 sequence = 4;
optional uint32 sequence = 4;
optional uint32 sequence = 4;
required bytes serialized_payment_details = 4;
required bytes serialized_payment_details = 4;
required bytes serialized_payment_details = 4;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
required uint64 services = 3;
required uint64 services = 3;
required uint64 services = 3;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
required bytes signature = 1;
required bytes signature = 1;
required bytes signature = 1;
required bytes signature = 2;
required bytes signature = 2;
required bytes signature = 2;
optional bytes signature = 5;
optional bytes signature = 5;
optional bytes signature = 5;
optional .wallet.TransactionConfidence.Source source = 7;
optional .wallet.TransactionConfidence.Source source = 7;
optional .wallet.TransactionConfidence.Source source = 7;
optional bytes spent_by_transaction_hash = 3;
optional bytes spent_by_transaction_hash = 3;
optional bytes spent_by_transaction_hash = 3;
optional int32 spent_by_transaction_index = 4;
optional int32 spent_by_transaction_index = 4;
optional int32 spent_by_transaction_index = 4;
required uint64 time = 3;
required uint64 time = 3;
required uint64 time = 3;
required bytes transaction_out_point_hash = 1;
required bytes transaction_out_point_hash = 1;
required bytes transaction_out_point_hash = 1;
required uint32 transaction_out_point_index = 2;
required uint32 transaction_out_point_index = 2;
required uint32 transaction_out_point_index = 2;
required bytes tx = 1;
required bytes tx = 1;
required bytes tx = 1;
required bytes tx = 2;
required bytes tx = 2;
required bytes tx = 2;
required bytes tx = 3;
required bytes tx = 3;
required bytes tx = 3;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .wallet.Key.Type type = 1;
required .wallet.Key.Type type = 1;
required .wallet.Key.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional int64 updated_at = 5;
optional int64 updated_at = 5;
optional int64 updated_at = 5;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
required int64 value = 1;
required int64 value = 1;
required int64 value = 1;
required uint64 valueToMe = 5;
required uint64 valueToMe = 5;
required uint64 valueToMe = 5;
required int32 version = 1;
required int32 version = 1;
required int32 version = 1;
optional int32 version = 7;
optional int32 version = 7;
optional int32 version = 7;
optional int64 work_done = 5;
optional int64 work_done = 5;
optional int64 work_done = 5;
INACTIVE = 2;
PaymentChannelClientState.getIncompleteRefundTransaction() and
PaymentChannelClientState.getMultisigContract().
INITIATE = 3;
TransactionOutput.markAsSpent(TransactionInput) has been called on this class.
Peer to find out if a transaction that has been announced is interesting,
that is, whether we should bother downloading its dependencies and exploring the transaction to decide how
risky it is.
KEY_ROTATION = 2;
EncrypterDecrypterOpenSSL:Peer when a transaction is pending and announced by a peer.
com.google.bitcoin.core.Transaction.MAX_STANDARD_TX_SIZE
Wallet.commitTx(com.google.bitcoin.core.Transaction) if tx is not already in the pending pool
StoredBlocks in memory.StoredBlocks, StoredUndoableBlocks and StoredTransactionOutputs in memory.MemoryPool.MAX_SIZE entries.
optional .paymentchannels.ClientVersion client_version = 2;
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .paymentchannels.Error error = 10;
required .paymentchannels.UpdatePayment initial_payment = 2;
optional .paymentchannels.Initiate initiate = 4;
required .payments.Payment payment = 1;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.UpdatePayment update_payment = 8;
MIN_PAYMENT_TOO_LARGE = 7;
StreamParser to process data.StreamParser to decode the data.
StreamParser to
process data.StreamParsers created by the given StreamParserFactory
NO_ACCEPTABLE_VERSION = 3;
NOT_IN_BEST_CHAIN = 3;
BlockChain when a new block on the best chain is seen, AFTER relevant
transactions are extracted and sent to us UNLESS the new block caused a re-org, in which case this will
not be called (the Wallet.reorganize(StoredBlock, java.util.List, java.util.List) method will
call this one in that case).
BlockChain when a new block on the best chain is seen, AFTER relevant wallet
transactions are extracted and sent to us UNLESS the new block caused a re-org, in which case this will
not be called (the Wallet.reorganize(StoredBlock, java.util.List, java.util.List) method will
call this one in that case).
BlockChain when we receive a new FilteredBlock that contains the given
transaction hash in its merkle tree.
BlockChain when we receive a new filtered block that contains a transactions previously
received by a call to @{link receivePending}.
TransactionConfidence.markBroadcastBy(com.google.bitcoin.core.PeerAddress).
Wallet.addKeys(java.util.List)
or due to some other automatic derivation.
org.multibit.qrcode.BitcoinURI:ORIGINAL = 1;
OTHER = 8;
PAYMENT_ACK = 11;
PaymentChannelClient.connectionOpen() before acting.
Protos.PaymentRequest.
Protos.PaymentRequest.
Protos.PaymentRequest.
PeerSocketHandler which
handles low-level message (de)serialization.Peer or PeerGroup, and they can
provide transactions to remote peers when they ask for them.ClientConnectionManager which is used to create new
connections and keep track of existing ones.
com.google.bitcoin.net classes and Peer.PENDING_INACTIVE = 18;
PENDING = 16;
PENDING = 2;
NioServer and NioClient to split up incoming data streams
into protobufs and provide an interface for writing protobufs to the connections.paymentchannels.ClientVersionpaymentchannels.ClientVersionwallet.EncryptedPrivateKeywallet.EncryptedPrivateKeypaymentchannels.Errorpaymentchannels.Errorpaymentchannels.Error.ErrorCodewallet.Extensionwallet.Extensionpaymentchannels.Initiatepaymentchannels.Initiatewallet.Keywallet.Keywallet.Key.Typepayments.Outputpayments.Outputpayments.Paymentpayments.Paymentpayments.PaymentACKpayments.PaymentACKpayments.PaymentDetailspayments.PaymentDetailspayments.PaymentRequestpayments.PaymentRequestwallet.PeerAddresswallet.PeerAddresspaymentchannels.ProvideContractpaymentchannels.ProvideContractpaymentchannels.ProvideRefundpaymentchannels.ProvideRefundpaymentchannels.ReturnRefundpaymentchannels.ReturnRefundwallet.Scriptwallet.Scriptwallet.ScryptParameterswallet.ScryptParameterspaymentchannels.ServerVersionpaymentchannels.ServerVersionpaymentchannels.Settlementpaymentchannels.Settlementwallet.Transactionwallet.Transactionwallet.Transaction.Poolwallet.Transaction.Purposewallet.TransactionConfidencewallet.TransactionConfidencewallet.TransactionConfidence.Sourcewallet.TransactionConfidence.Typewallet.TransactionInputwallet.TransactionInputwallet.TransactionOutputwallet.TransactionOutputpaymentchannels.TwoWayChannelMessagepaymentchannels.TwoWayChannelMessagepaymentchannels.TwoWayChannelMessage.MessageTypepaymentchannels.UpdatePaymentpaymentchannels.UpdatePaymentwallet.Walletwallet.Walletwallet.Wallet.EncryptionTypepayments.X509Certificatespayments.X509CertificatesPROVIDE_CONTRACT = 6;
PROVIDE_REFUND = 4;
StoredUndoableBlock and StoredBlock.
BlockChain when we receive a new block that contains a relevant transaction.
BlockChain when we receive a new block that sends coins to one of our addresses or
spends coins from one of our addresses (note that a single transaction can do both).
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .wallet.Extension extension = 10;
repeated .wallet.Key key = 3;
BlockChainListener from the chain.
repeated .payments.Output outputs = 2;
repeated .payments.Output refund_to = 3;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionOutput transaction_output = 7;
StoredTransactionOutput from the list of unspent TransactionOutputs
Note that the coinbase of the genesis block should NEVER be spendable and thus never in the list.
repeated .wallet.Script watched_script = 15;
BlockChain when the best chain (representing total work done) has changed.
BitcoinURI:count field of this byte array output
stream to zero, so that all currently accumulated output in the
output stream is discarded.
RETURN_REFUND = 5;
PeerGroup.
TransactionBroadcaster.
Wallet.SendRequest using the default transaction broadcaster configured either via
PeerGroup.addWallet(Wallet) or directly with Wallet.setTransactionBroadcaster(TransactionBroadcaster).
Peer.
SERVER_VERSION = 2;
PaymentChannelServerListenerpaymentchannels.StoredServerPaymentChannelpaymentchannels.StoredServerPaymentChannelpaymentchannels.StoredServerPaymentChannelspaymentchannels.StoredServerPaymentChannelsRiskAnalysis.
optional uint64 amount = 1 [default = 0];
optional int32 appeared_at_height = 2;
optional bytes bestValueSignature = 2;
required uint64 bestValueToMe = 1;
repeated bytes block_hash = 8;
repeated int32 block_relativity_offsets = 11;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated .wallet.PeerAddress broadcast_by = 6;
repeated bytes certificate = 1;
StoredBlock that represents the top of the chain of greatest total work.
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredClientPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
required uint64 client_change_value = 1;
required bytes clientOutput = 5;
optional .paymentchannels.ClientVersion client_version = 2;
optional .paymentchannels.ClientVersion client_version = 2;
optional bytes closeTransactionHash = 7;
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
optional .wallet.TransactionConfidence confidence = 9;
optional .wallet.TransactionConfidence confidence = 9;
Wallet, when new information about the confidence of a
transaction becomes available.
required bytes contractTransaction = 2;
required bytes contractTransaction = 4;
optional int64 creation_timestamp = 5;
required int64 creation_timestamp = 2;
required bytes data = 2;
optional int32 depth = 4;
optional string description = 11;
optional string description = 11;
required bytes encrypted_private_key = 2;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.ScryptParameters encryption_parameters = 6;
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
optional .paymentchannels.Error error = 10;
optional .paymentchannels.Error error = 10;
optional uint64 expected_value = 3;
optional uint64 expires = 4;
required uint64 expire_time_secs = 3;
optional string explanation = 2;
optional string explanation = 2;
repeated .wallet.Extension extension = 10;
repeated .wallet.Extension extension = 10;
required bytes hash = 2;
required bytes id = 1;
required string id = 1;
required string id = 1;
required bytes initialisation_vector = 1;
required .paymentchannels.UpdatePayment initial_payment = 2;
required .paymentchannels.UpdatePayment initial_payment = 2;
optional .paymentchannels.Initiate initiate = 4;
optional .paymentchannels.Initiate initiate = 4;
required bytes ip_address = 1;
repeated .wallet.Key key = 3;
repeated .wallet.Key key = 3;
optional uint64 key_rotation_time = 13;
optional string label = 4;
optional string label = 4;
optional bytes last_seen_block_hash = 2;
optional uint32 last_seen_block_height = 12;
optional int64 last_seen_block_time_secs = 14;
optional uint32 lock_time = 4;
required int32 major = 1;
required int32 major = 1;
required bool mandatory = 3;
optional string memo = 4;
optional string memo = 2;
optional string memo = 5;
optional string memo = 4;
optional string memo = 2;
optional string memo = 5;
optional bytes merchant_data = 1;
optional bytes merchant_data = 7;
required uint64 min_accepted_channel_size = 2;
PeerGroup.getMinBroadcastConnections().
optional int32 minor = 2 [default = 0];
optional int32 minor = 2 [default = 0];
required uint64 min_payment = 4;
required bytes multisig_key = 1;
required bytes multisig_key = 1;
required bytes myKey = 4;
required bytes myKey = 6;
optional int64 n = 2 [default = 16384];
optional string network = 1 [default = "main"];
optional string network = 1 [default = "main"];
required string network_identifier = 1;
required string network_identifier = 1;
repeated .payments.Output outputs = 2;
repeated .payments.Output outputs = 2;
optional bytes overriding_transaction = 3;
optional int32 p = 4 [default = 1];
required .payments.Payment payment = 1;
required .payments.Payment payment = 1;
optional uint32 payment_details_version = 1 [default = 1];
optional string payment_url = 6;
optional string payment_url = 6;
optional bytes pki_data = 3;
optional string pki_type = 2 [default = "none"];
optional string pki_type = 2 [default = "none"];
optional .wallet.Transaction.Pool pool = 3;
required uint32 port = 2;
optional bytes previous_channel_contract_hash = 3;
optional bytes private_key = 2;
required bytes program = 1;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideContract provide_contract = 7;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional .paymentchannels.ProvideRefund provide_refund = 5;
optional bytes public_key = 3;
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
optional int32 r = 3 [default = 8];
required uint64 refundFees = 6;
repeated .payments.Output refund_to = 3;
repeated .payments.Output refund_to = 3;
required bytes refundTransaction = 3;
required uint64 refundTransactionUnlockTimeSecs = 3;
optional .paymentchannels.ReturnRefund return_refund = 6;
optional .paymentchannels.ReturnRefund return_refund = 6;
RiskAnalysis implementation to use for deciding whether received pending transactions are risky
or not.
required bytes salt = 1;
required bytes script = 2;
required bytes script_bytes = 3;
required bytes script_bytes = 2;
optional uint32 sequence = 4;
required bytes serialized_payment_details = 4;
optional .paymentchannels.ServerVersion server_version = 3;
optional .paymentchannels.ServerVersion server_version = 3;
required uint64 services = 3;
optional .paymentchannels.Settlement settlement = 9;
optional .paymentchannels.Settlement settlement = 9;
required bytes signature = 1;
required bytes signature = 2;
optional bytes signature = 5;
optional .wallet.TransactionConfidence.Source source = 7;
optional bytes spent_by_transaction_hash = 3;
optional int32 spent_by_transaction_index = 4;
required uint64 time = 3;
repeated .wallet.Transaction transaction = 4;
repeated .wallet.Transaction transaction = 4;
TransactionBroadcaster, typically a PeerGroup, should be used for
sending transactions to the Bitcoin network by default.
repeated .wallet.TransactionInput transaction_input = 6;
repeated .wallet.TransactionInput transaction_input = 6;
required bytes transaction_out_point_hash = 1;
required uint32 transaction_out_point_index = 2;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated .wallet.TransactionOutput transaction_output = 7;
repeated bytes transactions = 2;
required bytes tx = 1;
required bytes tx = 2;
required bytes tx = 3;
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
required .wallet.Key.Type type = 1;
optional .wallet.TransactionConfidence.Type type = 1;
optional int64 updated_at = 5;
optional .paymentchannels.UpdatePayment update_payment = 8;
optional .paymentchannels.UpdatePayment update_payment = 8;
required int64 value = 1;
required uint64 valueToMe = 5;
StoredBlock that represents the top of the chain of greatest total work that has been
fully verified.
required int32 version = 1;
optional int32 version = 7;
VersionMessage that will be announced on newly created connections.
repeated .wallet.Script watched_script = 15;
repeated .wallet.Script watched_script = 15;
optional int64 work_done = 5;
MessageWriteTarget used to write messages to the peer.
Wallet.autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, com.google.bitcoin.wallet.WalletFiles.Listener)
before.
SOURCE_NETWORK = 1;
SOURCE_SELF = 2;
SOURCE_UNKNOWN = 0;
SPENT = 5;
PaymentChannelClientState object which stores the current state of the connection with the
server.
PaymentChannelClientState object which stores the current state of the connection with the
server.
PaymentChannelServerState object that is being manipulated.
StoredPaymentChannelClientStates wallet
extension and keeps it up-to-date each time payment is incremented.
StoredPaymentChannelServerStates wallet
extension and keeps it up-to-date each time payment is incremented.
Block object with extra data that can be derived from the block chain but is slow or inconvenient to
calculate.StoredClientChannels, automatically (re)broadcasting the contract transaction
and broadcasting the refund transaction over the given TransactionBroadcaster.Wallet and
TransactionBroadcaster which are used to complete and announce contract and refund
transactions.
StoredServerChannels and expires them 2 hours before their refund transactions
unlock.Wallet and
TransactionBroadcaster which are used to complete and announce payment transactions.
NioServer, NioClient and BlockingClient to handle incoming
data streams.StreamParsers when a new connection is opened.SYNTAX_ERROR = 2;
TIME_WINDOW_TOO_LARGE = 5;
TIMEOUT = 1;
TransactionConfidence is updated by something, like
for example a Wallet.ECKey.ECDSASignature and adds methods for handling
the additional SIGHASH mode byte that is used.UNENCRYPTED = 1;
UNKNOWN = 0;
UNKNOWN = 0;
WalletProtobufSerializer when the serialized protocol buffer is either corrupted,
internally inconsistent or appears to be from the future.UNSPENT = 4;
UPDATE_PAYMENT = 8;
USER_PAYMENT = 1;
ECKey.signedMessageToKey(String, String).
Wallet and provide arbitrary byte arrays that will
be serialized alongside the wallet.Wallet class.len bytes from the specified byte array
starting at offset off to this byte array output stream.
out.write(buf, 0, count).
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||