Uses of Class
ch.bitagent.bitcoin.lib.ecc.Int
-
-
Uses of Int in ch.bitagent.bitcoin.lib.block
Fields in ch.bitagent.bitcoin.lib.block declared as Int Modifier and Type Field Description static IntBloomFilter. BIP37_CONSTANTConstantBIP37_CONSTANTstatic IntBlock. GENESIS_BLOCKConstantGENESIS_BLOCKstatic IntBlock. LOWEST_BITSConstantLOWEST_BITSstatic IntBlock. TESTNET_GENESIS_BLOCKConstantTESTNET_GENESIS_BLOCKMethods in ch.bitagent.bitcoin.lib.block that return Int Modifier and Type Method Description IntBlock. difficulty()Returns the block difficulty based on the bitsIntBlock. getTimestamp()Getter for the fieldtimestamp.IntMerkleBlock. getTimestamp()Getter for the fieldtimestamp.IntBlock. getVersion()Getter for the fieldversion.IntMerkleBlock. getVersion()Getter for the fieldversion.IntBlock. proof()proof.IntBlock. target()Returns the proof-of-work target based on the bitsMethods in ch.bitagent.bitcoin.lib.block with parameters of type Int Modifier and Type Method Description GenericMessageBloomFilter. filterload(Int flag)Return the filterload messageConstructors in ch.bitagent.bitcoin.lib.block with parameters of type Int Constructor Description Block(Int version, byte[] prevBlock, byte[] merkleRoot, Int timestamp, byte[] bits, byte[] nonce)Constructor for Block.MerkleBlock(Int version, byte[] prevBlock, byte[] merkleRoot, Int timestamp, byte[] bits, byte[] nonce, int total, List<byte[]> hashes, byte[] flags)Constructor for MerkleBlock. -
Uses of Int in ch.bitagent.bitcoin.lib.ecc
Subclasses of Int in ch.bitagent.bitcoin.lib.ecc Modifier and Type Class Description classHexAn Int from a hex valueFields in ch.bitagent.bitcoin.lib.ecc declared as Int Modifier and Type Field Description static IntS256Point. NConstantNstatic IntS256Field. PConstantPstatic IntSchnorr. PMethods in ch.bitagent.bitcoin.lib.ecc that return Int Modifier and Type Method Description IntInt. add(PointOperators otherPoint)add.IntPrivateKey. deterministicK(Int z, int counter)deterministicK.IntInt. div(PointOperators otherPoint)div.IntFieldElement. getNum()Getter for the fieldnum.static IntPoint. getNum(PointOperators po)IntFieldElement. getPrime()Getter for the fieldprime.static IntPoint. getPrime(PointOperators po)IntSignature. getR()Getter for the fieldr.IntSignature. getS()Getter for the fields.IntPrivateKey. getSecret()Get the secretstatic IntInt. log(Int i)Deprecated.temp use onlyIntInt. mod(Int divisor)mod.IntInt. mul(PointOperators otherPoint)mul.static IntInt. parse(int i)parse.static IntInt. parse(long i)parse.static IntInt. parse(String i)parse.static IntInt. parse(BigInteger bi)parse.IntInt. pow(Int exponent)pow.IntInt. powMod(Int exponent, Int divisor)powMod.IntInt. sub(PointOperators otherPoint)sub.Methods in ch.bitagent.bitcoin.lib.ecc with parameters of type Int Modifier and Type Method Description intInt. compareTo(Int other)IntPrivateKey. deterministicK(Int z, int counter)deterministicK.booleanInt. ge(Int otherInt)ge.booleanInt. gt(Int otherInt)gt.booleanInt. le(Int otherInt)le.static IntInt. log(Int i)Deprecated.temp use onlybooleanInt. lt(Int otherInt)lt.FieldElementFieldElement. mod(Int divisor)mod.IntInt. mod(Int divisor)mod.PointOperatorsPointOperators. mod(Int divisor)mod.PointPoint. mul(Int coefficient)mul.S256PointS256Point. mul(Int coefficient)mul.FieldElementFieldElement. pow(Int exponent)pow.IntInt. pow(Int exponent)pow.PointOperatorsPointOperators. pow(Int exponent)pow.S256FieldS256Field. pow(Int divisor)pow.FieldElementFieldElement. powMod(Int exponent, Int divisor)powMod.IntInt. powMod(Int exponent, Int divisor)powMod.PointOperatorsPointOperators. powMod(Int exponent, Int divisor)powMod.SignaturePrivateKey. sign(Int z, int counter)sign.booleanS256Point. verify(Int z, Signature signature)verify.Constructors in ch.bitagent.bitcoin.lib.ecc with parameters of type Int Constructor Description FieldElement(Int num, Int prime)Constructor for FieldElement.PrivateKey(Int secret)Constructor for PrivateKey.S256Field(Int num)Constructor for S256Field.Signature(Int r, Int s)Constructor for Signature. -
Uses of Int in ch.bitagent.bitcoin.lib.helper
Fields in ch.bitagent.bitcoin.lib.helper declared as Int Modifier and Type Field Description static IntHash. SIGHASH_ALLConstantSIGHASH_ALLstatic IntHash. SIGHASH_NONEConstantSIGHASH_NONEstatic IntHash. SIGHASH_SINGLEConstantSIGHASH_SINGLEstatic IntBytes. TWO_WEEKSConstantTWO_WEEKSMethods in ch.bitagent.bitcoin.lib.helper that return Int Modifier and Type Method Description static IntBytes. bitsToTarget(byte[] bits)Turns bits into a target (large 256-bit integer)static IntMurmur3. hash32(byte[] data, Int seed)hash32.static IntVarint. read(ByteArrayInputStream stream)Reads a variable integer from a streamMethods in ch.bitagent.bitcoin.lib.helper with parameters of type Int Modifier and Type Method Description static byte[]Bytes. calculateNewBits(byte[] previousBits, Int timeDifferential)Calculates the new bits given a 2016-block time differential and the previous bitsstatic byte[]Varint. encode(Int i)Encodes an integer as a varintstatic IntMurmur3. hash32(byte[] data, Int seed)hash32.static byte[]Bytes. targetToBits(Int target)Turns a target integer back into bits, which is 4 bytes -
Uses of Int in ch.bitagent.bitcoin.lib.network
Constructors in ch.bitagent.bitcoin.lib.network with parameters of type Int Constructor Description GetHeadersMessage(Int version, Int numHashes, byte[] startBlock, byte[] endBlock)Constructor for GetHeadersMessage.SendCompactMessage(Int announce, Int version)Constructor for SendCompactMessage.VersionMessage(Int version, Int services, Int timestamp, Int receiverServices, byte[] receiverIp, Int receiverPort, Int senderServices, byte[] senderIp, Int senderPort, byte[] nonce, String userAgent, Int latestBlock, Boolean relay)Constructor for VersionMessage. -
Uses of Int in ch.bitagent.bitcoin.lib.script
Methods in ch.bitagent.bitcoin.lib.script that return Int Modifier and Type Method Description IntOpCodeNames. getCode()Getter for the fieldcode.Methods in ch.bitagent.bitcoin.lib.script with parameters of type Int Modifier and Type Method Description booleanScript. evaluate(Int z, Script witness)evaluate.static OpCodeNamesOpCodeNames. findByCode(Int code)findByCode.static booleanOpCodeFunctions. op(OpCodeNames opCode, Deque<byte[]> stack, Deque<byte[]> altstack, List<ScriptCmd> cmds, Int z)op.Constructors in ch.bitagent.bitcoin.lib.script with parameters of type Int Constructor Description ScriptCmd(Int element)Constructor for ScriptCmd. -
Uses of Int in ch.bitagent.bitcoin.lib.tx
Fields in ch.bitagent.bitcoin.lib.tx declared as Int Modifier and Type Field Description static IntTxIn. SEQUENCE_DEFstatic IntTxIn. SEQUENCE_RBFMethods in ch.bitagent.bitcoin.lib.tx that return Int Modifier and Type Method Description IntTx. coinbaseHeight()Returns the height of the block this coinbase transaction is in Returns None if this transaction is not a coinbase transactionIntTx. fee()Returns the fee of this transaction in satoshiIntTxOut. getAmount()Getter for the fieldamount.IntTx. getFlag()IntTx. getLocktime()Getter for the fieldlocktime.IntTx. getMarker()IntTxIn. getPrevIndex()Getter for the fieldprevIndex.IntTxIn. getPrevTx()Getter for the fieldprevTx.IntTxIn. getSequence()Getter for the fieldsequence.IntTx. getVersion()Getter for the fieldversion.IntTx. sigHash(int inputIndex, Script redeemScript)Returns the integer representation of the hash that needs to get signed for index input_indexIntTx. sigHashBip143(int inputIndex, Script redeemScript, Script witnessScript)Returns the integer representation of the hash that needs to get signed for index input_indexIntTxIn. value(Boolean testnet)Get the outpoint value by looking up the tx hash Returns the amount in satoshiMethods in ch.bitagent.bitcoin.lib.tx with parameters of type Int Modifier and Type Method Description voidTx. setFlag(Int flag)voidTx. setLocktime(Int locktime)Setter for the fieldlocktime.voidTx. setMarker(Int marker)Constructors in ch.bitagent.bitcoin.lib.tx with parameters of type Int Constructor Description Tx(Int version, List<TxIn> txIns, List<TxOut> txOuts, Int locktime, Boolean testnet, Boolean segwit)Constructor for Tx.TxIn(Int prevTx, Int prevIndex, Script scriptSig, Int sequence)Constructor for TxIn.TxOut(Int amount, Script scriptPubkey)Constructor for TxOut. -
Uses of Int in ch.bitagent.bitcoin.lib.wallet
Fields in ch.bitagent.bitcoin.lib.wallet declared as Int Modifier and Type Field Description static IntExtendedKey. PREFIX_XPRVstatic IntExtendedKey. PREFIX_XPUBstatic IntExtendedKey. PREFIX_YPRVstatic IntExtendedKey. PREFIX_YPUBstatic IntExtendedKey. PREFIX_ZPRVstatic IntExtendedKey. PREFIX_ZPUBMethods in ch.bitagent.bitcoin.lib.wallet with parameters of type Int Modifier and Type Method Description static StringMnemonicSentence. seedToExtendedKey(byte[] seed, Int xkeyPrefix)
-