Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #82: Display Bitcoin timestamps with appropriate precision
44a1951 Display Bitcoin timestamps with appropriate precision (Peter Todd) Pull request description: Previously would display them with precision down to the second, which misrepresents how precise a Bitcoin timestamp can actually be as adversarial miners can get away with creating blocks whose timestamps are inaccurate by multiple hours or more. For those who do want a more precise timestamp, the height of the block attesting to the timestamp is now displayed, allowing a manual investigation of it. Examples of the new UX: ``` $ ots verify examples/empty.ots Assuming target filename is 'examples/empty' Success! Bitcoin block 129405 attests existence as of 2011-06-08 EDT ``` ``` $ git tag -v opentimestamps-client-v0.5.1 object dcc4549 type commit tag opentimestamps-client-v0.5.1 tagger Peter Todd <[email protected]> 1513029381 -0500 Release opentimestamps-client-v0.5.1 ots: Got 1 attestation(s) from https://finney.calendar.eternitywall.com ots: Got 1 attestation(s) from https://bob.btc.calendar.opentimestamps.org ots: Success! Bitcoin block 498825 attests existence as of 2017-12-11 EST ots: Good timestamp gpg: Signature made Mon 11 Dec 2017 04:56:22 PM EST gpg: using RSA key 2481403DA5F091FB gpg: Good signature from "Peter Todd <[email protected]>" gpg: aka "[jpeg image of size 5220]" ``` Tree-SHA512: e4e6186b493d0b6ab59994ceaa60da10d13e5464219fb3a45760900b12d09f7d270c387600cc43cef65482c2455401adc8776615e6dcd5a4b5a4d60a8e825405
- Loading branch information