mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 13:22:42 +01:00
Replace URLs to code.google.com by the appropriate GitHub URLs.
This commit is contained in:
parent
14ef3c0052
commit
0b3cc9c59f
@ -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
|
||||
* [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)
|
||||
* [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
|
||||
|
||||
|
@ -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
|
||||
// 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
|
||||
// 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 {
|
||||
block.verifyHeader();
|
||||
storedPrev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
|
||||
|
@ -163,7 +163,7 @@ public class BloomFilter extends Message {
|
||||
|
||||
/**
|
||||
* 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) {
|
||||
int h1 = (int)(hashNum * 0xFBA4C795L + nTweak);
|
||||
|
@ -47,7 +47,7 @@ import java.math.BigInteger;
|
||||
* 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
|
||||
* <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>
|
||||
*
|
||||
* <p>All Bitcoin transactions are at risk of being reversed, though the risk is much less than with traditional payment
|
||||
|
@ -51,7 +51,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
||||
|
||||
/**
|
||||
* 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
|
||||
* 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
|
||||
|
@ -59,7 +59,7 @@ public class Kit {
|
||||
//kit.connectToLocalHost();
|
||||
|
||||
// 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.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.
|
||||
// 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);
|
||||
FutureCallback<Coin> callback = new FutureCallback<Coin>() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user