Go to file
Tzu-Jung Lee f4a5c5ee8d trie: change the Value.Hash() to return pointer.
When nil is returned by Hash(), the merkle generation will treat it as a
nil node, and ignore the hash along the way.
2018-07-16 23:20:11 -07:00
claim trie: change the Value.Hash() to return pointer. 2018-07-16 23:20:11 -07:00
cmd/claimtrie trie: change the Value.Hash() to return pointer. 2018-07-16 23:20:11 -07:00
memento misc changes 2018-07-16 08:25:52 -07:00
trie trie: change the Value.Hash() to return pointer. 2018-07-16 23:20:11 -07:00
claimtrie.go misc changes 2018-07-16 08:25:52 -07:00
claimtrie_test.go cleanup: reorg the code for dependencies. 2018-07-09 10:48:33 -07:00
error.go initial import 2018-07-03 14:56:10 -07:00
README.md cleanup: reorg the code for dependencies. 2018-07-09 10:48:33 -07:00

ClaimTrie

coming soon

Installation

coming soon

Usage

coming soon

Running from Source

This project requires Go v1.10 or higher.

go get -u -v github.com/lbryio/claimtrie

Examples

Refer to claimtrie for an interactive CLI tool.

NAME:
   claimtrie - A CLI tool for ClaimTrie

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   0.0.1

COMMANDS:
     add-claim, ac      Claim a name with specified amount. (outPoint is generated randomly, if unspecified)
     add-support, as    Add support to a specified Claim. (outPoint is generated randomly, if unspecified)
     spend-claim, sc    Spend a specified Claim.
     spend-support, ss  Spend a specified Support.
     show, s            Show the Key-Value pairs of the Stage or specified commit. (links nodes are showed if -a is also specified)
     merkle, m          Show the Merkle Hash of the Stage.
     commit, c          Commit the current Stage to commit database.
     reset, r           Reset the Stage to a specified commit.
     log, l             List the commits in the coommit database.
     shell, sh          Enter interactive mode
     help, h            Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Testing

go test -v github.com/lbryio/claimtrie
gocov test -v github.com/lbryio/claimtrie 1>/dev/null

Contributing

coming soon

License

This project is MIT licensed.

Security

We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is here if you need it.

Contact

The primary contact for this project is @roylee17 (roylee@lbry.io)