bitcoinj-master

所属分类:区块链开发
开发工具:Java
文件大小:3167KB
下载次数:40
上传日期:2018-01-29 09:00:45
上 传 者rmathena
说明:  区块链比特币的实现代码,基本满足比特币的区块链实现机制以及部署。
(The implementation code of the block chain bitcoin basically meets the block chain implementation mechanism and deployment of bitcoin.)

文件列表:
.travis.yml (428, 2018-01-02)
AUTHORS (1097, 2018-01-02)
COPYING (11357, 2018-01-02)
core (0, 2018-01-02)
core\findbugs.xml (1626, 2018-01-02)
core\pom.xml (22929, 2018-01-02)
core\src (0, 2018-01-02)
core\src\main (0, 2018-01-02)
core\src\main\java (0, 2018-01-02)
core\src\main\java\org (0, 2018-01-02)
core\src\main\java\org\bitcoin (0, 2018-01-02)
core\src\main\java\org\bitcoin\NativeSecp256k1.java (16837, 2018-01-02)
core\src\main\java\org\bitcoin\NativeSecp256k1Util.java (1705, 2018-01-02)
core\src\main\java\org\bitcoin\Secp256k1Context.java (1882, 2018-01-02)
core\src\main\java\org\bitcoin\crawler (0, 2018-01-02)
core\src\main\java\org\bitcoin\crawler\PeerSeedProtos.java (78599, 2018-01-02)
core\src\main\java\org\bitcoin\paymentchannel (0, 2018-01-02)
core\src\main\java\org\bitcoin\paymentchannel\Protos.java (372470, 2018-01-02)
core\src\main\java\org\bitcoin\protocols (0, 2018-01-02)
core\src\main\java\org\bitcoin\protocols\payments (0, 2018-01-02)
core\src\main\java\org\bitcoin\protocols\payments\Protos.java (196468, 2018-01-02)
core\src\main\java\org\bitcoinj (0, 2018-01-02)
core\src\main\java\org\bitcoinj\core (0, 2018-01-02)
core\src\main\java\org\bitcoinj\core\AbstractBlockChain.java (57324, 2018-01-02)
core\src\main\java\org\bitcoinj\core\Address.java (8484, 2018-01-02)
core\src\main\java\org\bitcoinj\core\AddressFormatException.java (905, 2018-01-02)
core\src\main\java\org\bitcoinj\core\AddressMessage.java (5363, 2018-01-02)
core\src\main\java\org\bitcoinj\core\AlertMessage.java (8873, 2018-01-02)
core\src\main\java\org\bitcoinj\core\Base58.java (8236, 2018-01-02)
core\src\main\java\org\bitcoinj\core\BitcoinSerializer.java (15438, 2018-01-02)
core\src\main\java\org\bitcoinj\core\Block.java (44404, 2018-01-02)
core\src\main\java\org\bitcoinj\core\BlockChain.java (6796, 2018-01-02)
core\src\main\java\org\bitcoinj\core\BloomFilter.java (15804, 2018-01-02)
core\src\main\java\org\bitcoinj\core\CheckpointManager.java (11113, 2018-01-02)
core\src\main\java\org\bitcoinj\core\ChildMessage.java (3214, 2018-01-02)
core\src\main\java\org\bitcoinj\core\Coin.java (9309, 2018-01-02)
... ...

[![Build Status](https://travis-ci.org/bitcoinj/bitcoinj.png?branch=master)](https://travis-ci.org/bitcoinj/bitcoinj) [![Coverage Status](https://coveralls.io/repos/bitcoinj/bitcoinj/badge.png?branch=master)](https://coveralls.io/r/bitcoinj/bitcoinj?branch=master) [![Visit our IRC channel](https://kiwiirc.com/buttons/irc.freenode.net/bitcoinj.png)](https://kiwiirc.com/client/irc.freenode.net/bitcoinj) ### Welcome to bitcoinj The bitcoinj library is a Java implementation of the Bitcoin protocol, which allows it to maintain a wallet and send/receive transactions without needing a local copy of Bitcoin Core. It comes with full documentation and some example apps showing how to use it. ### Technologies * Java 6 for the core modules, Java 8 for everything else * [Maven 3+](http://maven.apache.org) - for building the project * [Google Protocol Buffers](https://github.com/google/protobuf) - for use with serialization and hardware communications ### Getting started To get started, it is best to have the latest JDK and Maven installed. The HEAD of the `master` branch contains the latest development code and various production releases are provided on feature branches. #### Building from the command line To perform a full build use ``` mvn clean package ``` You can also run ``` mvn site:site ``` to generate a website with useful information like JavaDocs. The outputs are under the `target` directory. #### Building from an IDE Alternatively, just import the project using your IDE. [IntelliJ](http://www.jetbrains.com/idea/download/) has Maven integration built-in and has a free Community Edition. Simply use `File | Import Project` and locate the `pom.xml` in the root of the cloned project source tree. ### Example applications These are found in the `examples` module. #### Forwarding service This will download the block chain and eventually print a Bitcoin address that it has generated. If you send coins to that address, it will forward them on to the address you specified. ``` cd examples mvn exec:java -Dexec.mainClass=org.bitcoinj.examples.ForwardingService -Dexec.args="" ``` Note that this example app *does not use checkpointing*, so the initial chain sync will be pretty slow. You can make an app that starts up and does the initial sync much faster by including a checkpoints file; see the documentation for more info on this technique. ### Where next? Now you are ready to [follow the tutorial](https://bitcoinj.github.io/getting-started).

近期下载者

相关文件


收藏者