bitcoinj代码研究1
从walltemplate研究起
采用的源码是bitcoinj 0.15
下载地址:
https://github.com/bitcoinj/bitcoinj
<parent>
<groupId>org.bitcoinj</groupId>
<artifactId>bitcoinj-parent</artifactId>
<version>0.15-SNAPSHOT</version>
</parent>
先看依赖pom.xml
<dependencies> <dependency> <groupId>org.bitcoinj</groupId> <artifactId>bitcoinj-core</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>22.0-android</version> </dependency> <!-- Native Mac skin (there's also AeroFX, MetroFX, etc) <dependency> <groupId>com.aquafx-project</groupId> <artifactId>aquafx</artifactId> <version>0.1</version> </dependency> --> <dependency> <groupId>org.fxmisc.easybind</groupId> <artifactId>easybind</artifactId> <version>1.0.2</version> </dependency> <dependency> <groupId>de.jensd</groupId> <artifactId>fontawesomefx</artifactId> <version>8.0.0</version> </dependency> <dependency> <groupId>net.glxn</groupId> <artifactId>qrgen</artifactId> <version>1.3</version> </dependency> </dependencies>
打包编译parent里的pom
文件。
mvn clean package -DskipTests=true
好了。能跑起来了。
下一章来分析一哈walltemplate干了些啥。