Unit ID
aorfcuoOYlwORuJ4ONz0tcRtx2aGW7z0BKj7nShRmQE=
Received
31.08.2019 11:13:41
Confirmation delay (full node)
3 hours 49 minutes 51 seconds
Confirmation delay (light node)
3 hours 58 minutes 44 seconds
Authors
24PPGCCA3IF4U34QTS3S3QAIPQTEYAC2
Definition
Messages
Payments
Data
close: 1
period: 1
sentByPeer: { "version": "2.0t", "signed_message": { "payment_amount": 1, "amount_spent": 1, "period": 1, "aa_address": "Q4ICS6ZLB7CQIB3JQTKU73H6Y4DWKKXQ", "channel_parameters": { "timeout": 600, "asset": "base", "salt": "3d2545920ad1a85cb5019f92ad49813edcb41d61f8cf5eb038", "address": "FPVL27V57BM2NCKDXOPPKZJMWZ44ARI7" }, "last_deposit_unit": "mkbxAPIu9YD2F7NRLXKTnjd/3hkSmfvKbLd+ykei2SA=" }, "authors": [ { "address": "FPVL27V57BM2NCKDXOPPKZJMWZ44ARI7", "authentifiers": { "r": "IjBv7Nwp9mRiRF+HbkKLy743P/tyV9owdekivCc+EaFmaCck5rGRzQpkUAbJ6xky9CCFn1X1SW6DtlEf1ItrNQ==" }, "definition": [ "sig", { "pubkey": "A0tkHucFCIQZyf5ysYyj/WGfK6k3VnrlhCBKPokpfKdc" } ] } ] }
AA responses
From Q4ICS6ZLB7CQIB3JQTKU73H6Y4DWKKXQ
  • 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:1035977
Witnessed level:1035969
Main chain index:1034788
Latest included mc index:1034787
Status:stable/confirmed/final