mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
Payment channels: Shrink the payment channel server example min required value to make it more micropaymenty.
This commit is contained in:
parent
1d454c03f3
commit
9bd52196ed
@ -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
|
// 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.
|
// 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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user