mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Payment channels: Shrink the payment channel server example min required value to make it more micropaymenty.
This commit is contained in:
@@ -63,7 +63,8 @@ public class ExamplePaymentChannelServer implements PaymentChannelServerListener
|
||||
|
||||
// We provide a peer group, a wallet, a timeout in seconds, the amount we require to start a channel and
|
||||
// an implementation of HandlerFactory, which we just implement ourselves.
|
||||
new PaymentChannelServerListener(appKit.peerGroup(), appKit.wallet(), 15, Utils.CENT, this).bindAndStart(4242);
|
||||
final int MILLI = 100000;
|
||||
new PaymentChannelServerListener(appKit.peerGroup(), appKit.wallet(), 15, BigInteger.valueOf(MILLI), this).bindAndStart(4242);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user