<<  >> (p.4)
    Author Topic: [Nxt] API of Nxt  (Read 37395 times)
    GCInc.
    Hero Member
    *****
    Offline Offline

    Activity: 566
    Merit: 500


    View Profile WWW
    December 13, 2013, 03:47:41 PM
     #61

    getTransaction returns even unconfirmed transactions. No need to monitor interface.
    Does "Unknown transaction" response then mean anything, if the same unknown transaction can become known after any arbitrary length of time within the deadline?

    The problem is we receive txid from sendMoney, and when submitting this txid to getTransaction, we get Unknown transaction. This would fine and dandy if it had any usefulness - but this data has no relevance. We would get the same response with a txid pulled from thin air.

    So getTransaction can be used to just verify what transactions were positively valid. Those tx which his majesty getTransaction won't acknowledge immediately we need to wait until deadline, then wait for 10 further blocks, then check to verify some of them have gone through, then resubmit the remaining poor rejected ones. Doable yes, not easily.

Page 3
Viewing Page: 4