|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Package com.google.bitcoin.core |
|---|
| Class com.google.bitcoin.core.AddressFormatException extends java.lang.Exception implements Serializable |
|---|
| Class com.google.bitcoin.core.AddressMessage extends Message implements Serializable |
|---|
serialVersionUID: 8058283864924679460L
| Serialized Fields |
|---|
java.util.List<E> addresses
| Class com.google.bitcoin.core.Block extends Message implements Serializable |
|---|
serialVersionUID: 2738848929966035281L
| Serialized Fields |
|---|
long version
byte[] prevBlockHash
byte[] merkleRoot
long time
long difficultyTarget
long nonce
java.util.List<E> transactions
| Class com.google.bitcoin.core.BlockStoreException extends java.lang.Exception implements Serializable |
|---|
| Class com.google.bitcoin.core.ECKey extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -728224901792295832L
| Serialized Fields |
|---|
java.math.BigInteger priv
byte[] pub
| Class com.google.bitcoin.core.GetBlocksMessage extends Message implements Serializable |
|---|
serialVersionUID: 3479412877853645644L
| Serialized Fields |
|---|
java.util.List<E> locator
byte[] stopHash
| Class com.google.bitcoin.core.GetDataMessage extends Message implements Serializable |
|---|
serialVersionUID: 2754681589501709887L
| Class com.google.bitcoin.core.InventoryMessage extends Message implements Serializable |
|---|
serialVersionUID: -7050246551646107066L
| Serialized Fields |
|---|
java.util.List<E> items
| Class com.google.bitcoin.core.Message extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -3561053461717079135L
| Serialized Fields |
|---|
NetworkParameters params
| Class com.google.bitcoin.core.NetworkParameters extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2579833727976661964L
| Serialized Fields |
|---|
Block genesisBlock
The first block in every chain is a well known constant shared between all BitCoin implemenetations. For a block to be valid, it must be eventually possible to work backwards to the genesis block by following the prevBlockHash pointers in the block headers.
The genesis blocks for both test and prod networks contain the timestamp of when they were created, and a message in the coinbase transaction. It says, "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks".
java.math.BigInteger proofOfWorkLimit
int port
long packetMagic
byte addressHeader
int interval
int targetTimespan
| Class com.google.bitcoin.core.PeerAddress extends Message implements Serializable |
|---|
serialVersionUID: 7501293709324197411L
| Serialized Fields |
|---|
java.net.InetAddress addr
int port
java.math.BigInteger services
long time
| Class com.google.bitcoin.core.ProtocolException extends java.lang.Exception implements Serializable |
|---|
| Class com.google.bitcoin.core.ScriptException extends java.lang.Exception implements Serializable |
|---|
| Class com.google.bitcoin.core.Transaction extends Message implements Serializable |
|---|
serialVersionUID: -8567546957352643140L
| Serialized Fields |
|---|
long version
java.util.ArrayList<E> inputs
java.util.ArrayList<E> outputs
long lockTime
| Class com.google.bitcoin.core.TransactionInput extends Message implements Serializable |
|---|
serialVersionUID: -7687665228438202968L
| Serialized Fields |
|---|
long sequence
TransactionOutPoint outpoint
byte[] scriptBytes
| Class com.google.bitcoin.core.TransactionOutPoint extends Message implements Serializable |
|---|
serialVersionUID: -6320880638344662579L
| Serialized Fields |
|---|
byte[] hash
long index
Transaction fromTx
| Class com.google.bitcoin.core.TransactionOutput extends Message implements Serializable |
|---|
serialVersionUID: -590332479859256824L
| Serialized Fields |
|---|
java.math.BigInteger value
byte[] scriptBytes
boolean isSpent
Transaction parentTransaction
| Class com.google.bitcoin.core.UnknownMessage extends Message implements Serializable |
|---|
serialVersionUID: 3614705938207918775L
| Serialized Fields |
|---|
java.lang.String name
| Class com.google.bitcoin.core.VerificationException extends java.lang.Exception implements Serializable |
|---|
| Class com.google.bitcoin.core.VersionMessage extends Message implements Serializable |
|---|
serialVersionUID: 7313594258967483180L
| Serialized Fields |
|---|
int clientVersion
long localServices
VersionMessage.NODE_NETWORK is the only flag defined.
long time
PeerAddress myAddr
PeerAddress theirAddr
java.lang.String subVer
long bestHeight
| Class com.google.bitcoin.core.Wallet extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -4501424466753895784L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
java.util.ArrayList<E> unspent
java.util.LinkedList<E> fullySpent
java.util.ArrayList<E> keychain
NetworkParameters params
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||