entangled

To run/build entangled tests

using bazel

$ bazel test //[directory]/...

  • ... means to run all test under [directory]

bazel test //...

  • run all test in all sub-directory in the repository

git hook installation

install modules

$ cd entangled
$ ./hooks/autohook.sh install

install buildifier

buildifier would be used before doing git commit, this tool will check for bazel BUILD file, we need to install on our own

We can install with go or bazel

install with go

if you have go installed

  1. cd to $GOPATH
    • for linux, default path is $HOME/go
  2. download and install with go,
    $ go get github.com/bazelbuild/buildtools/buildifier
    • after the command, an executable buildifier is now in $HOME/go/bin
  3. make soft link for global usage
    sudo ln -s $HOME/go/bin/buildifier /usr/bin/buildifier

Install with bazel

  1. clone bazelbuild repository
    $ git clone https://github.com/bazelbuild/buildtools.git
  2. cd to buildtools
  3. build buildifier with command,
    $ bazel build //buildifier
    • an executable buildifier is now in bazelbuild/bazel-bin/buildifier/linux_amd64_stripped/buildifier
  4. make soft link

cclient

develop status:

test iota_api_xxx

get_node_info source code link

TODO:

Pull requests

contributors

  • HowJMay
  • weichen
  • jkrvivian

in progress

merged

  • #57: Fix typo
  • #73: style tweak
  • #126: cppclient: add unit test of getNodeInfo()
  • #146: Initialize TCP/UDP receiver services with ports from configuration variables
  • #151: Fix typos in common/trinary
  • #168: Fix typos in commmon/model
  • #209: Correctly protect the freed variables from access again
  • #215: Git hook tools installation guide
  • #216: cclient: Implement get_balances
  • #220: cclient: implement iota_api_store_transactions
  • #225: cclient: Implement iota_api_get_transactions_to_approve
  • #221: cclient: implement iota_api_get_inclusion_states
  • #219: cclient: implement iota_api_broadcast_transactions
  • #227: cclient: implement were_addresses_spent_from