Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Counterparty/Colored Coin transactions #11

Open
LivInTheLookingGlass opened this issue Jul 27, 2015 · 7 comments
Open

Detect Counterparty/Colored Coin transactions #11

LivInTheLookingGlass opened this issue Jul 27, 2015 · 7 comments

Comments

@LivInTheLookingGlass
Copy link
Owner

Possibly not feasible with current setup, but needs investigation.

@LivInTheLookingGlass
Copy link
Owner Author

Access to the data field of the transaction will likely be necessary. This probably cannot be done (efficiently).

@LivInTheLookingGlass
Copy link
Owner Author

Impossible until blockchain.info updates their API, or I move to a different one entirely. Closing for now. :(

@LivInTheLookingGlass
Copy link
Owner Author

https://counterpartychain.io/api

May be possible!

@LivInTheLookingGlass
Copy link
Owner Author

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

@LivInTheLookingGlass
Copy link
Owner Author

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.

@LivInTheLookingGlass
Copy link
Owner Author

@LivInTheLookingGlass
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant