emschwartz / ilp3

An implementation of Interledger V3
5 stars 3 forks source link

Last line of example transcript #10

Open michielbdejong opened 6 years ago

michielbdejong commented 6 years ago
  ilp3-psk:receiver got last chunk of amount 5 for payment: a88f7f6a59fe3003be9656aeab775569. total received: 500 +19ms
receiver got payment for 500
  ilp3-http:parser responding to sender with fulfillment +1ms
  ilp3-http:client got fulfillment: V3dGwN4PEi4RiPRW9KEFJ7Alg05YN0BHvO68gclGXZQ= and data: [Stream] +4ms
  ilp3-fulfillments:validator fulfillment matches original transfer condition +17ms
  ilp3-balance-tracker crediting account: test3.crypto.xrp.pc.rw3PbBm3HJGXtJUxstWWDtu1i3U7ss9T2T.rnpQy9QfeYMmXudBQfUfRHTcBiKYyNaSEM by: 5, balance is now: 1490 +4ms
  ilp3-connector responding to the sender with the fulfillment: V3dGwN4PEi4RiPRW9KEFJ7Alg05YN0BHvO68gclGXZQ= +4ms
  ilp3-bandwidth-adjuster lowering minBalance to -2513 for account test3.crypto.xrp.pc.rw3PbBm3HJGXtJUxstWWDtu1i3U7ss9T2T.rMRyYByxGS48tfu5Qvy9n9G7mqQT6HvKcg +18ms
  ilp3-http:parser responding to sender with fulfillment +9ms
  ilp3-http:client got fulfillment: V3dGwN4PEi4RiPRW9KEFJ7Alg05YN0BHvO68gclGXZQ= and data: XKTnFZ3uNKUYaOl9QQbpHCHx+RizgxJvzClpRZMBZKjmNT5C9WTGA6C0 +13ms
  ilp3-fulfillments:validator fulfillment matches original transfer condition +2ms
  ilp3-xrp:outgoing transfer succeeded, increasing channel amount to 1506 +19ms
  ilp3-psk:sendChunkedPayment transfer was successful, increasing chunk size to: 7 +18ms
sender delivered 500 by sending 506

That sounds like those 6 were used up as commission, I think it would be clearer to also specify the channel balances at the end, to show they add up?

emschwartz commented 6 years ago

There is no getBalance function so that would be slightly more difficult. You can, however, look at the xrp-channel-watcher.log file to see the claims it submitted