Unit ID
e6U+Cb7+psIM37TyQLBbRKw+p55vmDSPrJazxzE0n78=
Received
30.08.2019 17:02:59
Confirmation delay (full node)
6 minutes 8 seconds
Confirmation delay (light node)
10 minutes 18 seconds
Authors
VYE6ZTHYPAG57MYUG467D2MVTTBNYULJ
Definition
Messages
Data
close: 1
period: 1
sentByPeer: { "version": "2.0t", "signed_message": { "payment_amount": 1, "amount_spent": 1, "period": 1, "aa_address": "PDKRY5QTES4OZGBYBN5NPTEC2WVW7647", "channel_parameters": { "timeout": 600, "asset": "base", "salt": "5b4a6252d23f3e2a8c006fc6a9c23ea6a9def06c0c9005dabb", "address": "5D3Z2UXSEONVOTPNXXT3OQALR2OVWH2Y" }, "last_deposit_unit": "W+fYh1JbNE3aFu14jjH6x2mcmdQcBMCimOi4WmJ23bk=" }, "authors": [ { "address": "5D3Z2UXSEONVOTPNXXT3OQALR2OVWH2Y", "authentifiers": { "r": "H+AK+WO0QuLotwM++ZSM22Zvr9ko0ZdIpN8+7P2b9I1EncFmJTza9yqOISrWpOMK6Phia8Kq9hJimMGjXdOxzA==" }, "definition": [ "sig", { "pubkey": "AtrAauCTV3Tf8/AfKx7SN5/C9RpsUJsOAR7wT6NV8dvg" } ] } ] }
AA responses
From PDKRY5QTES4OZGBYBN5NPTEC2WVW7647
  • Bounced
  • Response: { "error": "formula if (trigger.data.period != var['period']) bounce('wrong period'); $transferredFromMe = trigger.data.transferredFromMe otherwise 0; if ($transferredFromMe < 0) bounce('bad amount spent by me: ' || $transferredFromMe); if (trigger.data.sentByPeer){ if (trigger.data.sentByPeer.signed_message.channel != this_address) bounce('signed for another channel'); if (trigger.data.sentByPeer.signed_message.period != var['period']) bounce('signed for a different period of this channel'); if (!is_valid_signed_package(trigger.data.sentByPeer, $bFromB ? $addressA : $addressB)) bounce('invalid signature by peer'); $transferredFromPeer = trigger.data.sentByPeer.signed_message.amount_spent; if ((!$transferredFromPeer AND $transferredFromPeer !=0) OR $transferredFromPeer < 0) bounce('bad amount spent by peer: ' || $transferredFromPeer); } else $transferredFromPeer = 0; failed: booleans cannot be compared with other types" }
Technical information
Fees:
1,032 bytes
(400 headers, 632 payload)
Level:1034765
Witnessed level:1034755
Main chain index:1033577
Latest included mc index:1033576
Status:stable/confirmed/final