mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-01 21:17:13 +00:00
Replace URLs to code.google.com by the appropriate GitHub URLs.
This commit is contained in:
committed by
Andreas Schildbach
parent
f1a80b59c8
commit
c7a612c3e0
@@ -11,7 +11,7 @@ The bitcoinj library is a Java implementation of the Bitcoin protocol, which all
|
|||||||
* Java 6 for the core modules, Java 8 for everything else
|
* Java 6 for the core modules, Java 8 for everything else
|
||||||
* [Maven 3+](http://maven.apache.org) - for building the project
|
* [Maven 3+](http://maven.apache.org) - for building the project
|
||||||
* [Orchid](https://github.com/subgraph/Orchid) - for secure communications over [TOR](https://www.torproject.org)
|
* [Orchid](https://github.com/subgraph/Orchid) - for secure communications over [TOR](https://www.torproject.org)
|
||||||
* [Google Protocol Buffers](https://code.google.com/p/protobuf/) - for use with serialization and hardware communications
|
* [Google Protocol Buffers](https://github.com/google/protobuf) - for use with serialization and hardware communications
|
||||||
|
|
||||||
### Getting started
|
### Getting started
|
||||||
|
|
||||||
|
|||||||
@@ -454,7 +454,7 @@ public abstract class AbstractBlockChain {
|
|||||||
// Prove the block is internally valid: hash is lower than target, etc. This only checks the block contents
|
// Prove the block is internally valid: hash is lower than target, etc. This only checks the block contents
|
||||||
// if there is a tx sending or receiving coins using an address in one of our wallets. And those transactions
|
// if there is a tx sending or receiving coins using an address in one of our wallets. And those transactions
|
||||||
// are only lightly verified: presence in a valid connecting block is taken as proof of validity. See the
|
// are only lightly verified: presence in a valid connecting block is taken as proof of validity. See the
|
||||||
// article here for more details: http://code.google.com/p/bitcoinj/wiki/SecurityModel
|
// article here for more details: https://bitcoinj.github.io/security-model
|
||||||
try {
|
try {
|
||||||
block.verifyHeader();
|
block.verifyHeader();
|
||||||
storedPrev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
|
storedPrev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ public class BloomFilter extends Message {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Applies the MurmurHash3 (x86_32) algorithm to the given data.
|
* Applies the MurmurHash3 (x86_32) algorithm to the given data.
|
||||||
* See this <a href="http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp">C++ code for the original.</a>
|
* See this <a href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">C++ code for the original.</a>
|
||||||
*/
|
*/
|
||||||
public static int murmurHash3(byte[] data, long nTweak, int hashNum, byte[] object) {
|
public static int murmurHash3(byte[] data, long nTweak, int hashNum, byte[] object) {
|
||||||
int h1 = (int)(hashNum * 0xFBA4C795L + nTweak);
|
int h1 = (int)(hashNum * 0xFBA4C795L + nTweak);
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import java.math.BigInteger;
|
|||||||
* the minting of new coins. A Transaction object corresponds to the equivalent in the Bitcoin C++ implementation.</p>
|
* the minting of new coins. A Transaction object corresponds to the equivalent in the Bitcoin C++ implementation.</p>
|
||||||
*
|
*
|
||||||
* <p>Transactions are the fundamental atoms of Bitcoin and have many powerful features. Read
|
* <p>Transactions are the fundamental atoms of Bitcoin and have many powerful features. Read
|
||||||
* <a href="http://code.google.com/p/bitcoinj/wiki/WorkingWithTransactions">"Working with transactions"</a> in the
|
* <a href="https://bitcoinj.github.io/working-with-transactions">"Working with transactions"</a> in the
|
||||||
* documentation to learn more about how to use this class.</p>
|
* documentation to learn more about how to use this class.</p>
|
||||||
*
|
*
|
||||||
* <p>All Bitcoin transactions are at risk of being reversed, though the risk is much less than with traditional payment
|
* <p>All Bitcoin transactions are at risk of being reversed, though the risk is much less than with traditional payment
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Serialize and de-serialize a wallet to a byte stream containing a
|
* Serialize and de-serialize a wallet to a byte stream containing a
|
||||||
* <a href="http://code.google.com/apis/protocolbuffers/docs/overview.html">protocol buffer</a>. Protocol buffers are
|
* <a href="https://developers.google.com/protocol-buffers/docs/overview">protocol buffer</a>. Protocol buffers are
|
||||||
* a data interchange format developed by Google with an efficient binary representation, a type safe specification
|
* a data interchange format developed by Google with an efficient binary representation, a type safe specification
|
||||||
* language and compilers that generate code to work with those data structures for many languages. Protocol buffers
|
* language and compilers that generate code to work with those data structures for many languages. Protocol buffers
|
||||||
* can have their format evolved over time: conceptually they represent data using (tag, length, value) tuples. The
|
* can have their format evolved over time: conceptually they represent data using (tag, length, value) tuples. The
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public class Kit {
|
|||||||
//kit.connectToLocalHost();
|
//kit.connectToLocalHost();
|
||||||
|
|
||||||
// Now we start the kit and sync the blockchain.
|
// Now we start the kit and sync the blockchain.
|
||||||
// bitcoinj is working a lot with the Google Guava libraries. The WalletAppKit extends the AbstractIdleService. Have a look at the introduction to Guava services: https://code.google.com/p/guava-libraries/wiki/ServiceExplained
|
// bitcoinj is working a lot with the Google Guava libraries. The WalletAppKit extends the AbstractIdleService. Have a look at the introduction to Guava services: https://github.com/google/guava/wiki/ServiceExplained
|
||||||
kit.startAsync();
|
kit.startAsync();
|
||||||
kit.awaitRunning();
|
kit.awaitRunning();
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class SendRequest {
|
|||||||
|
|
||||||
// Bitcoinj allows you to define a BalanceFuture to execute a callback once your wallet has a certain balance.
|
// Bitcoinj allows you to define a BalanceFuture to execute a callback once your wallet has a certain balance.
|
||||||
// Here we wait until the we have enough balance and display a notice.
|
// Here we wait until the we have enough balance and display a notice.
|
||||||
// Bitcoinj is using the ListenableFutures of the Guava library. Have a look here for more information: https://code.google.com/p/guava-libraries/wiki/ListenableFutureExplained
|
// Bitcoinj is using the ListenableFutures of the Guava library. Have a look here for more information: https://github.com/google/guava/wiki/ListenableFutureExplained
|
||||||
ListenableFuture<Coin> balanceFuture = kit.wallet().getBalanceFuture(value, BalanceType.AVAILABLE);
|
ListenableFuture<Coin> balanceFuture = kit.wallet().getBalanceFuture(value, BalanceType.AVAILABLE);
|
||||||
FutureCallback<Coin> callback = new FutureCallback<Coin>() {
|
FutureCallback<Coin> callback = new FutureCallback<Coin>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -40,8 +40,8 @@
|
|||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>Google Code</system>
|
<system>GitHub</system>
|
||||||
<url>http://code.google.com/p/bitcoinj/issues/list</url>
|
<url>https://github.com/bitcoinj/bitcoinj/issues</url>
|
||||||
</issueManagement>
|
</issueManagement>
|
||||||
|
|
||||||
<mailingLists>
|
<mailingLists>
|
||||||
|
|||||||
Reference in New Issue
Block a user