Skip to content

Instantly share code, notes, and snippets.

@runeksvendsen
Created May 6, 2016 14:50
Show Gist options
  • Save runeksvendsen/f73717e88923289414c5fb5740386037 to your computer and use it in GitHub Desktop.
Save runeksvendsen/f73717e88923289414c5fb5740386037 to your computer and use it in GitHub Desktop.
16:40:05 12 WalletProtobufSerializer.loadExtensions: Loading wallet extension org.bitcoinj.protocols.channels.StoredPaymentChannelClientStates
16:40:05 13 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 1425854689 was updated
16:40:08 15 ConnectionHandler.handleKey: Error handling SelectionKey: java.nio.channels.CancelledKeyException
Client payment channel states:
16:40:13 15 NioClientManager.handleKey: Failed to connect with exception: java.nio.channels.ClosedChannelException: null
16:40:15 15 NioClientManager.handleKey: Failed to connect with exception: java.nio.channels.ClosedChannelException: null
16:40:16 15 NioClientManager.handleKey: Failed to connect with exception: java.nio.channels.ClosedChannelException: null
16:40:19 15 NioClientManager.handleKey: Failed to connect with exception: java.nio.channels.ClosedChannelException: null
16:40:19 15 NioClientManager.handleKey: Failed to connect with exception: java.nio.channels.ClosedChannelException: null
16:40:30 1 ExamplePaymentChannelClient.run: Round one ...
16:40:30 21 PaymentChannelClient.connectionOpen: Begun version handshake creating new channel
16:40:30 21 PaymentChannelClient.receiveMessage: Got version handshake, awaiting INITIATE or resume CHANNEL_OPEN
16:40:30 21 PaymentChannelClient.receiveInitiate: Got INITIATE message:
min_accepted_channel_size: 5000
16:40:30 21 PaymentChannelV2ClientState.initiate: initiated channel with contract 4102a6328bcd76e5c046d532af30f41085c3f6c50a5ef1daa2586379d0df7cd8
16:40:30 21 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 5e9ee687dae953578864628bfc9de8c320901c99b33ba694d4b889d3cd879047
16:40:30 21 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receiveChannelOpen: Got CHANNEL_OPEN message, ready to pay
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Success! Trying to make 5 micropayments. Already paid 5000 satoshis on this channel
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx adf8f0f1be2d2ace99d08a8e8969e1bbfff06d06d6b03789be88e5bc592d39a3
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 895000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 529f92d90e65d86c646f4459e9499751dcc7f4d75e51017e2895f9b26d7c5dbc
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 795000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 50d1786eabfb4150068fb272c90a6dd90583f172e336da2a09e5d39787b5c0d9
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 695000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx e72dec9ab36856957f39776c5fb07d44a773b5825acbe557b55945aed5e8307d
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 595000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 07323505eaea8611641dac4b64bd2b0d2602240d59b70fc29dd0a78b951a8f93
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 21 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 495000
16:40:30 1 ExamplePaymentChannelClient.run: Round two ...
16:40:30 1 ExamplePaymentChannelClient.run: Wallet containing 0.0006505 BTC (spendable: 0.0006505 BTC) in:
Client payment channel states:
Stored client channel for server ID 12ca17b49af2289436f303e0166030a21e525d266e209267433801a8fd4071a0 (inactive)
16:40:30 22 StoredPaymentChannelClientStates.getUsableChannelForServerID: Considering channel 318819418 contract 4102a6328bcd76e5c046d532af30f41085c3f6c50a5ef1daa2586379d0df7cd8
16:40:30 22 StoredPaymentChannelClientStates.getUsableChannelForServerID: ... activating
16:40:30 22 PaymentChannelClient.connectionOpen: Begun version handshake, attempting to reopen channel with contract hash 4102a6328bcd76e5c046d532af30f41085c3f6c50a5ef1daa2586379d0df7cd8
16:40:30 22 PaymentChannelClient.receiveMessage: Got version handshake, awaiting INITIATE or resume CHANNEL_OPEN
16:40:30 22 PaymentChannelClient.receiveChannelOpen: Got CHANNEL_OPEN message, ready to pay
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Success! Trying to make 4 micropayments. Already paid 505000 satoshis on this channel
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 48780dac16c571b8cc5282f9665c16128d18532a3f1932a715b53f7598270dfb
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 22 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 395000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx 6f66d41f4e23878fcbe3fc41ac535077b4723eadeac9b00c260842acb5808b03
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 22 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 295000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx d4c93dcd0a7068c7dc3adb3af043529114af08c3c5c0d6a189d92a7eda7be09f
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 22 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 195000
16:40:30 11 PaymentChannelClientState.incrementPaymentBy: Signing new payment tx fc9824caa363a8708da750ba08426771e9f549dcdc3cd978a7eddf8a673a2e63
16:40:30 11 StoredPaymentChannelClientStates.updatedChannel: Stored client channel 318819418 was updated
16:40:30 22 PaymentChannelClient.receivePaymentAck: Received a PAYMENT_ACK from the server
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Successfully sent payment of one CENT, total remaining on channel is now 95000
16:40:30 11 ExamplePaymentChannelClient$2.onSuccess: Settling channel for good
16:40:30 11 PaymentChannelClient.settle: Sending a CLOSE message to the server and waiting for response indicating successful settlement.
16:40:30 1 ExamplePaymentChannelClient.run: Stopping ...
16:40:30 22 PaymentChannelClient.receiveClose: CLOSE message received with settlement tx 875ed7e6611a217d09110d665a6f8e3640fbe6deb5026e4b8e19109798e35cf2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment