Skip to content

Instantly share code, notes, and snippets.

View luongthomas's full-sized avatar

Thomas Luong luongthomas

  • Nike
  • Oregon, USA
View GitHub Profile
@luongthomas
luongthomas / ballot.sol
Created October 26, 2018 16:56
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.25+commit.59dbf8f1.js&optimize=false&gist=
pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {

Keybase proof

I hereby claim:

  • I am luongthomas on github.
  • I am lithogen (https://keybase.io/lithogen) on keybase.
  • I have a public key ASCcSM_cuoUd188HMUILpJCxNHIukDeFZ7EOGaJZnTUsiwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am luongthomas on github.
* I am lithogen (https://keybase.io/lithogen) on keybase.
* I have a public key ASCcSM_cuoUd188HMUILpJCxNHIukDeFZ7EOGaJZnTUsiwo
To claim this, I am signing this object:
 ””/bin   master ●  ./cli info  ✔  754  14:46:14
Warning: The `hsd cli` interface is deprecated.
Please use `hsd-cli` ($ npm install bclient).
{
"version": "0.0.0",
"network": "testnet",
"chain": {
"height": 8433,
"tip": "87b3591e55f22046fd357f91dafb81aea7f41a12635856ec3f796f144324cf9f",
"progress": 1
””/hsd   master  ./bin/hsd  ✔  702  21:22:38
[info] (chain) Chain is loading.
[info] (chain) Checkpoints are enabled.
[info] (chaindb) Opening ChainDB...
[info] (chaindb) ChainDB successfully loaded.
[info] (chaindb) Chain State: hash=24990c78f9357e4fa3a36a2a93f9a34005bfbb9acea4eca693e68bcf424aaff8 tx=8410 coin=7981 value=1164117947.32 burned=28.1.
[info] (chaindb) Tree Root: 03bf2a0573e32fa10fe7305cdb5e667d1cbf08274b5a8d0f3f4b6f2ab3581fb7.
[info] (chain) Chain Height: 8117
[debug] (chain) Memory: rss=65mb, js-heap=14/33mb native-heap=31mb
[info] (chain) Synchronized Tree Root: 34c06fd0f6093cd842612e0cd086e95cc8a509afe56208c6000ae4fe5208ddbc.
@luongthomas
luongthomas / README.md
Created June 11, 2016 02:19 — forked from zenorocha/README.md
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage