3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00
Java library for adding altcoin support to bitcoinj
Go to file
Mike Hearn fc70f7362d Payment channels: require a minimum payment to initiate.
This is a (backwards incompatible) protocol change that prevents clients or servers getting into a situation where they have opened a channel that they then cannot close because insufficient value has been transferred.

The server is allowed to specify the minimum payment it requires in order to open any channel at all, and the client then sanity checks that. Currently the rule is very simple - the min payment must be equal to the hard-coded dust limit. In future it will get more complicated as the dust limit starts to float and a more nuanced risk analysis may become required.
2013-11-13 18:18:10 +01:00
core Payment channels: require a minimum payment to initiate. 2013-11-13 18:18:10 +01:00
examples Payment channels: rename "close" to "settle". 2013-11-12 13:37:46 +01:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
tools WalletTool: allow skipping of mandatory extensions. 2013-11-10 20:03:30 +01:00
wallettemplate Request 11 peers by default in wallet-template 2013-11-10 20:05:37 +01:00
.gitattributes Add a logo. 2013-03-01 13:59:48 +01:00
.gitignore Ignore .iml files 2013-09-15 22:05:17 +02:00
AUTHORS Remove redundant query in H2FullPrunedBlockStore. 2013-10-23 14:22:44 +02:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Upgrade SLF4J 2013-09-23 15:33:34 +02:00
README Update README 2013-07-30 13:14:24 +02:00

To get started, ensure you have the latest JDK installed, and download Maven from:

  http://maven.apache.org/

Then run "mvn clean package" to compile the software. You can also run "mvn site:site" to generate a website with
useful information like JavaDocs. The outputs are under the target/ directory.

Alternatively, just import the project using your IDE. IntelliJ has Maven integration once you tell it where to
find your unzipped Maven install directory.

Now try running one of the example apps:

  cd examples
  mvn exec:java -Dexec.mainClass=com.google.bitcoin.examples.ForwardingService <insert a bitcoin address here>

It will download the block chain and eventually print a Bitcoin address. If you send coins to it,
it will forward them on to the address you specified.

Now you are ready to follow the tutorial:

   https://code.google.com/p/bitcoinj/wiki/GettingStarted