Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Conversation

kralux
Copy link
Contributor

@kralux kralux commented Mar 13, 2019

Added more description and links to documentation.
Added more description in the returned object because a lot of it is implicit and hard to know ahead of time without trying it.
Also fixed small errors in the examples.
We need as much info as possible because for a first-timer, this is really hard to get into with the sparse description we currently have.

kralux added 10 commits March 10, 2019 22:25
Added some information because I think it is needed since I first got confused while writing my code. I thought utxo() would return the CONFRIMED TXs and unconfirmed() would return the unconfirmed TXs so I initially called BOTH methods only to realize I had duplicate TXIDs since utxo() generates both. One can only figure that out after running the code since it does not explicitly state that. Hopefully this will help other devs in the future. I also added some explanations to the utxo object structure for people not familiar with it since it may save them time...
Fixed input format mismatch with the output format of the example
added more explanation on how to use the sign() method because it is not clear for a new user how to use it on multiple inputs.
added link to WIF format because most people won't remember it by heart and will need to look it up.
added another link simply describing steps to go from PK to WIF
added detail since it refuses non-compressed private keys.
@cgcardona cgcardona changed the base branch from master to stage March 19, 2019 14:48
@cgcardona cgcardona merged commit 06dd9fe into Bitcoin-com:stage Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants