Skip to content

Commit

Permalink
Update version to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yosriady committed Apr 18, 2019
1 parent 700c2b9 commit fa6be27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Merkle Tree implementation in pure Elixir.
mix new my_app; cd my_app
```

* Add `merkle_tree` to your list of dependencies in `mix.exs`. Note that merkle_tree v1.2.0 is required in order to use `MerkleTree.Proof`.
* Add `merkle_tree` to your list of dependencies in `mix.exs`.
```elixir
def deps do
[{:merkle_tree, "~> 1.2.0"}]
[{:merkle_tree, "~> 1.6.0"}]
end
```

Expand Down Expand Up @@ -52,7 +52,7 @@ Merkle Tree implementation in pure Elixir.
value: "d3a0f1c792ccf7f1708d5422696263e35755a86917ea76ef9242bd4a8cf4891a"}],
value: "58c89d709329eb37285837b042ab6ff72c7c8f74de0446b091b6a0131c102cfd"}}
$ mt.blocks()
['a', 'b', 'c', 'd']
['a', 'b', 'c', 'd']
$ mt.hash_function()
&MerkleTree.Crypto.sha256/1
$ mt.root()
Expand All @@ -78,9 +78,9 @@ Merkle Tree implementation in pure Elixir.

* Try the [MerkleTree.Crypto Module](https://hexdocs.pm/merkle_tree/MerkleTree.Crypto.html)
```elixir
iex> MerkleTree.Crypto.__info__(:functions)
iex> MerkleTree.Crypto.__info__(:functions)
[hash: 2, sha256: 1]
iex> MerkleTree.Crypto.hash("tendermint", :sha256)
iex> MerkleTree.Crypto.hash("tendermint", :sha256)
"f6c3848fc2ab9188dd2c563828019be7cee4e269f5438c19f5173f79898e9ee6"
iex> MerkleTree.Crypto.hash("tendermint", :md5)
"bc93700bdf1d47ad28654ad93611941f"
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule MerkleTree.Mixfile do
def project do
[
app: :merkle_tree,
version: "1.5.0",
version: "1.6.0",
elixir: "~> 1.2",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit fa6be27

Please sign in to comment.