-
Notifications
You must be signed in to change notification settings - Fork 733
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
Add detected data protocol to transaction view #150
Comments
Very cool! How does this relate to the What do you recommend doing here? |
Thanks @mflaxman! You're right on the money on where to put both the Also, it's very unlikely that a TX will have more than one TX Output with a |
Hey @acityinohio, can you take a look at what I just pushed? The feature was very simple, but the UI is a lot trickier. Other ideas:
I'm open to anything, just tell me what you like and/or feel free to submit a PR. Also note that the UI here is related to #142 that I'd like to do soon. |
Update: here's Reopening because I have to fix this, but assigning to you @acityinohio for some feedback first on the best approach. Thanks! |
Also, @acityinohio or @matthieu can you confirm that the lack of |
Hi @mflaxman, yup! To answer your last question/number 3 first, last transaction won't have a Regarding questions 1/2, I'm actually not seeing any update on the UI...not seeing |
Hey @acityinohio , that transaction doesn't have one because I'm only checking for Try the one from earlier in the thread: Or the one from #142: The tricky part that I'm coming back to is that the action is on the Tx output but (I think) we want to show it on the TX as a whole. What do you think of how I've done it (see qs above)? Also, what about for transactions without
Another thing to keep in mind is that I'm only grabbing some of the inputs/outputs of each txn (I believe 100 but am not 100% sure and would have to check). Theoretically, if there was null-data embedded in an output > than that number, I'd have no way of knowing when I render the page. That's why I like that |
Ahh gotcha @mflaxman, sorry, I wasn't following before/didn't grok the full context of the thread. I like what you've done for the design for @matthieu does that make sense to you? If so I can do a PR on the API and let you know when it's done @mflaxman . |
👍 ! Also, I don't have much real-world experience with null data, so if I'm not understanding the use-cases or just generally off feel free to do something else. |
@acityinohio @matthieu nudge! Embedding data in the blockchain is live: But I'm not linking to it anywhere because once embedded the explorer isn't showing anything without a |
Nice @mflaxman! Apologies for delay, had a bit of a backlog but will submit a PR for the |
I'd add somewhere there's a 40 bytes limit (so 80 hex chars or 40 ascii chars) no? |
An error does show up if you attempt to submit something longer: |
Awesome, thanks guys. This github issue is closed, but I appreciate your feedback on the embedding UI. I've created a new issue here: |
Just added the data_protocol field to the transaction hash API, would be awesome to expose this data on the transaction view of the explorer.
Here's an example transaction with data_protocol detected (factom):
https://api.blockcypher.com/v1/btc/main/txs/7166f3aa854ebee1b1df49b3d67cf1dccd601c8f8cadac503be6f92dec3c77c5
And the full description of the new field in the documentation:
http://dev.blockcypher.com/#tx
The text was updated successfully, but these errors were encountered: