Open LivInTheLookingGlass opened 9 years ago
Access to the data field of the transaction will likely be necessary. This probably cannot be done (efficiently).
Impossible until blockchain.info updates their API, or I move to a different one entirely. Closing for now. :(
https://counterpartychain.io/api
May be possible!
Step 1) Add node Step 2) Make ajax call to https://counterpartychain.io/api/transaction/{TXID} Step 3) have success check if the "success" property is 1 Step 4) if it's 1, change the node color to purple Step 5) change source color to pink, destination color to white
Pros: This is a cool feature Cons: This might murder performance if I'm not careful
Looking at data: this murders performance (doubles CPU utilization) for almost no gain.
I'll publish what I have now in a seperate branch, but I won't be putting it on the main unless it can be optimized much further.
These could be handled by two web workers. It would still increase transaction latency by several seconds, but it would be a good way to start.
Possibly not feasible with current setup, but needs investigation.