From 5a8b99b64dc6eab6d0cb521c5d4b97fb11405708 Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Sun, 2 Mar 2014 15:01:44 -0500 Subject: [PATCH] Update BIP URLs to new github repo --- core/src/main/java/com/google/bitcoin/core/Address.java | 2 +- .../main/java/com/google/bitcoin/core/FullPrunedBlockChain.java | 2 +- core/src/main/java/com/google/bitcoin/core/PeerGroup.java | 2 +- core/src/main/java/com/google/bitcoin/core/VersionMessage.java | 2 +- .../main/java/com/google/bitcoin/crypto/DeterministicKey.java | 2 +- core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java | 2 +- core/src/main/java/com/google/bitcoin/script/Script.java | 2 +- core/src/main/java/com/google/bitcoin/uri/BitcoinURI.java | 2 +- core/src/test/java/com/google/bitcoin/crypto/BIP32Test.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Address.java b/core/src/main/java/com/google/bitcoin/core/Address.java index be1ed9ca..582a28d2 100644 --- a/core/src/main/java/com/google/bitcoin/core/Address.java +++ b/core/src/main/java/com/google/bitcoin/core/Address.java @@ -106,7 +106,7 @@ public class Address extends VersionedChecksummedBytes { /* * 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() { final NetworkParameters parameters = getParameters(); diff --git a/core/src/main/java/com/google/bitcoin/core/FullPrunedBlockChain.java b/core/src/main/java/com/google/bitcoin/core/FullPrunedBlockChain.java index acda43ef..aa008280 100644 --- a/core/src/main/java/com/google/bitcoin/core/FullPrunedBlockChain.java +++ b/core/src/main/java/com/google/bitcoin/core/FullPrunedBlockChain.java @@ -164,7 +164,7 @@ public class FullPrunedBlockChain extends AbstractBlockChain { if (!params.isCheckpoint(height)) { // 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 - // 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) { Sha256Hash hash = tx.getHash(); // If we already have unspent outputs for this hash, we saw the tx already. Either the block is diff --git a/core/src/main/java/com/google/bitcoin/core/PeerGroup.java b/core/src/main/java/com/google/bitcoin/core/PeerGroup.java index 4d6e5000..79834225 100644 --- a/core/src/main/java/com/google/bitcoin/core/PeerGroup.java +++ b/core/src/main/java/com/google/bitcoin/core/PeerGroup.java @@ -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 * 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 - * BIP 14. + * BIP 14. * * 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. diff --git a/core/src/main/java/com/google/bitcoin/core/VersionMessage.java b/core/src/main/java/com/google/bitcoin/core/VersionMessage.java index be68c2b0..77426931 100644 --- a/core/src/main/java/com/google/bitcoin/core/VersionMessage.java +++ b/core/src/main/java/com/google/bitcoin/core/VersionMessage.java @@ -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 * components. If you don't want to add a comment (recommended), pass null.

* - * See BIP 14 for more information. + * See BIP 14 for more information. * * @param comments Optional (can be null) platform or other node specific information. * @throws IllegalArgumentException if name, version or comments contains invalid characters. diff --git a/core/src/main/java/com/google/bitcoin/crypto/DeterministicKey.java b/core/src/main/java/com/google/bitcoin/crypto/DeterministicKey.java index 00e33ad7..1f6f1f69 100644 --- a/core/src/main/java/com/google/bitcoin/crypto/DeterministicKey.java +++ b/core/src/main/java/com/google/bitcoin/crypto/DeterministicKey.java @@ -39,7 +39,7 @@ import static com.google.common.base.Preconditions.checkNotNull; /** * A deterministic key is a node in a {@link DeterministicHierarchy}. As per - * the BIP 32 specification it is a pair (key, chaincode). If you + * the BIP 32 specification it is a pair (key, chaincode). If you * know its path in the tree you can derive more keys from this. */ public class DeterministicKey implements Serializable { diff --git a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java index 11b94185..1ebe8246 100644 --- a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java +++ b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java @@ -32,7 +32,7 @@ import java.util.List; /** * A MnemonicCode object may be used to convert between binary seed values and - * lists of words per the BIP 39 + * lists of words per the BIP 39 * specification */ diff --git a/core/src/main/java/com/google/bitcoin/script/Script.java b/core/src/main/java/com/google/bitcoin/script/Script.java index fec68a8c..1eb63aa1 100644 --- a/core/src/main/java/com/google/bitcoin/script/Script.java +++ b/core/src/main/java/com/google/bitcoin/script/Script.java @@ -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 * 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 - * logic is defined by BIP 16.

+ * logic is defined by BIP 16.

* *

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 diff --git a/core/src/main/java/com/google/bitcoin/uri/BitcoinURI.java b/core/src/main/java/com/google/bitcoin/uri/BitcoinURI.java index 14893034..0e8219ae 100644 --- a/core/src/main/java/com/google/bitcoin/uri/BitcoinURI.java +++ b/core/src/main/java/com/google/bitcoin/uri/BitcoinURI.java @@ -73,7 +73,7 @@ import static com.google.common.base.Preconditions.checkNotNull; * @author Andreas Schildbach (initial code) * @author Jim Burton (enhancements for MultiBit) * @author Gary Rowe (BIP21 support) - * @see BIP 0021 + * @see BIP 0021 */ public class BitcoinURI { /** diff --git a/core/src/test/java/com/google/bitcoin/crypto/BIP32Test.java b/core/src/test/java/com/google/bitcoin/crypto/BIP32Test.java index dcca899d..e8358e04 100644 --- a/core/src/test/java/com/google/bitcoin/crypto/BIP32Test.java +++ b/core/src/test/java/com/google/bitcoin/crypto/BIP32Test.java @@ -35,7 +35,7 @@ import java.util.Arrays; 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 { private static final Logger log = LoggerFactory.getLogger(BIP32Test.class);