mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 18:25:51 +00:00
Update BIP URLs to new github repo
This commit is contained in:
parent
e0153a9bf0
commit
5a8b99b64d
@ -106,7 +106,7 @@ public class Address extends VersionedChecksummedBytes {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns true if this address is a Pay-To-Script-Hash (P2SH) address.
|
* Returns true if this address is a Pay-To-Script-Hash (P2SH) address.
|
||||||
* See also https://en.bitcoin.it/wiki/BIP_0013: Address Format for pay-to-script-hash
|
* See also https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki: Address Format for pay-to-script-hash
|
||||||
*/
|
*/
|
||||||
public boolean isP2SHAddress() {
|
public boolean isP2SHAddress() {
|
||||||
final NetworkParameters parameters = getParameters();
|
final NetworkParameters parameters = getParameters();
|
||||||
|
@ -164,7 +164,7 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
|
|||||||
if (!params.isCheckpoint(height)) {
|
if (!params.isCheckpoint(height)) {
|
||||||
// BIP30 violator blocks are ones that contain a duplicated transaction. They are all in the
|
// BIP30 violator blocks are ones that contain a duplicated transaction. They are all in the
|
||||||
// checkpoints list and we therefore only check non-checkpoints for duplicated transactions here. See the
|
// checkpoints list and we therefore only check non-checkpoints for duplicated transactions here. See the
|
||||||
// BIP30 document for more details on this: https://en.bitcoin.it/wiki/BIP_0030
|
// BIP30 document for more details on this: https://github.com/bitcoin/bips/blob/master/bip-0030.mediawiki
|
||||||
for (Transaction tx : block.transactions) {
|
for (Transaction tx : block.transactions) {
|
||||||
Sha256Hash hash = tx.getHash();
|
Sha256Hash hash = tx.getHash();
|
||||||
// If we already have unspent outputs for this hash, we saw the tx already. Either the block is
|
// If we already have unspent outputs for this hash, we saw the tx already. Either the block is
|
||||||
|
@ -402,7 +402,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac
|
|||||||
* Sets the {@link VersionMessage} that will be announced on newly created connections. A version message is
|
* Sets the {@link VersionMessage} that will be announced on newly created connections. A version message is
|
||||||
* primarily interesting because it lets you customize the "subVer" field which is used a bit like the User-Agent
|
* primarily interesting because it lets you customize the "subVer" field which is used a bit like the User-Agent
|
||||||
* field from HTTP. It means your client tells the other side what it is, see
|
* field from HTTP. It means your client tells the other side what it is, see
|
||||||
* <a href="https://en.bitcoin.it/wiki/BIP_0014">BIP 14</a>.
|
* <a href="https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki">BIP 14</a>.
|
||||||
*
|
*
|
||||||
* The VersionMessage you provide is copied and the best chain height/time filled in for each new connection,
|
* The VersionMessage you provide is copied and the best chain height/time filled in for each new connection,
|
||||||
* therefore you don't have to worry about setting that. The provided object is really more of a template.
|
* therefore you don't have to worry about setting that. The provided object is really more of a template.
|
||||||
|
@ -275,7 +275,7 @@ public class VersionMessage extends Message {
|
|||||||
* set of "/BitCoinJ:1.0/MultiBit:1.0(Windows)/. Therefore the / ( and ) characters are reserved in all these
|
* set of "/BitCoinJ:1.0/MultiBit:1.0(Windows)/. Therefore the / ( and ) characters are reserved in all these
|
||||||
* components. If you don't want to add a comment (recommended), pass null.<p>
|
* components. If you don't want to add a comment (recommended), pass null.<p>
|
||||||
*
|
*
|
||||||
* See <a href="https://en.bitcoin.it/wiki/BIP_0014">BIP 14</a> for more information.
|
* See <a href="https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki">BIP 14</a> for more information.
|
||||||
*
|
*
|
||||||
* @param comments Optional (can be null) platform or other node specific information.
|
* @param comments Optional (can be null) platform or other node specific information.
|
||||||
* @throws IllegalArgumentException if name, version or comments contains invalid characters.
|
* @throws IllegalArgumentException if name, version or comments contains invalid characters.
|
||||||
|
@ -39,7 +39,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A deterministic key is a node in a {@link DeterministicHierarchy}. As per
|
* A deterministic key is a node in a {@link DeterministicHierarchy}. As per
|
||||||
* <a href="https://en.bitcoin.it/wiki/BIP_0032">the BIP 32 specification</a> it is a pair (key, chaincode). If you
|
* <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki">the BIP 32 specification</a> it is a pair (key, chaincode). If you
|
||||||
* know its path in the tree you can derive more keys from this.
|
* know its path in the tree you can derive more keys from this.
|
||||||
*/
|
*/
|
||||||
public class DeterministicKey implements Serializable {
|
public class DeterministicKey implements Serializable {
|
||||||
|
@ -32,7 +32,7 @@ import java.util.List;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A MnemonicCode object may be used to convert between binary seed values and
|
* A MnemonicCode object may be used to convert between binary seed values and
|
||||||
* lists of words per <a href="https://en.bitcoin.it/wiki/BIP_0039">the BIP 39
|
* lists of words per <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">the BIP 39
|
||||||
* specification</a>
|
* specification</a>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -472,7 +472,7 @@ public class Script {
|
|||||||
* spending input to provide a program matching that hash. This rule is "soft enforced" by the network as it does
|
* spending input to provide a program matching that hash. This rule is "soft enforced" by the network as it does
|
||||||
* not exist in Satoshis original implementation. It means blocks containing P2SH transactions that don't match
|
* not exist in Satoshis original implementation. It means blocks containing P2SH transactions that don't match
|
||||||
* correctly are considered valid, but won't be mined upon, so they'll be rapidly re-orgd out of the chain. This
|
* correctly are considered valid, but won't be mined upon, so they'll be rapidly re-orgd out of the chain. This
|
||||||
* logic is defined by <a href="https://en.bitcoin.it/wiki/BIP_0016">BIP 16</a>.</p>
|
* logic is defined by <a href="https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki">BIP 16</a>.</p>
|
||||||
*
|
*
|
||||||
* <p>bitcoinj does not support creation of P2SH transactions today. The goal of P2SH is to allow short addresses
|
* <p>bitcoinj does not support creation of P2SH transactions today. The goal of P2SH is to allow short addresses
|
||||||
* even for complex scripts (eg, multi-sig outputs) so they are convenient to work with in things like QRcodes or
|
* even for complex scripts (eg, multi-sig outputs) so they are convenient to work with in things like QRcodes or
|
||||||
|
@ -73,7 +73,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
|||||||
* @author Andreas Schildbach (initial code)
|
* @author Andreas Schildbach (initial code)
|
||||||
* @author Jim Burton (enhancements for MultiBit)
|
* @author Jim Burton (enhancements for MultiBit)
|
||||||
* @author Gary Rowe (BIP21 support)
|
* @author Gary Rowe (BIP21 support)
|
||||||
* @see <a href="https://en.bitcoin.it/wiki/BIP_0021">BIP 0021</a>
|
* @see <a href="https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki">BIP 0021</a>
|
||||||
*/
|
*/
|
||||||
public class BitcoinURI {
|
public class BitcoinURI {
|
||||||
/**
|
/**
|
||||||
|
@ -35,7 +35,7 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A test with test vectors as per BIP 32 spec: https://en.bitcoin.it/wiki/BIP_0032#Test_Vectors
|
* A test with test vectors as per BIP 32 spec: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#Test_Vectors
|
||||||
*/
|
*/
|
||||||
public class BIP32Test {
|
public class BIP32Test {
|
||||||
private static final Logger log = LoggerFactory.getLogger(BIP32Test.class);
|
private static final Logger log = LoggerFactory.getLogger(BIP32Test.class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user