Giter Site home page Giter Site logo

augur-core's People

Contributors

chriscalderon avatar tinybike avatar zack-bitcoin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

augur-core's Issues

Negative Reputation

Not sure if this is an artifact from an incompletely downloaded blockchain, but, here's the CLI:

$ ./truth_cli.py info my_address
{u'count': 20, u'votes': {}, u'votecoin': {u'international': -123, u'random': 1296, u'elections': 0}, u'amount': 1890000, u'shares': {}}

Double-posting this at https://github.com/scottzer0/Truthcoin-UI. Snapped a pic of it too if that helps (attached):

augur-prototype_11-16-2014

Quotes in decision text are not escaped

Single and double quotes are not escaped when using ./truth_cli.py ask_decision <jury> my_decision_name Pappasito's Grill is delicious -- instead, you get a prompt to enter more info. Suggest parsing quotes ' as \' (and double quotes " as \") instead.

Different passwords but the same address

Running truth_cli.py on two separate machines. I'm getting the same address assigned, even though I'm specifying different passwords. The passwords I've tried are:

  • funcrusherplus
  • sulprehsurcnuf
  • DIpbKhfSsr4qAcjujpFVTX91

All of these result in the address 1137hWYZ6vzyfhCWYoHMSw7uYUravTY (displayed using ./truth_cli.py my_address).

KeyError from peers command

$ ./truth_cli.py peers
truthcoin api main failure : (<type 'exceptions.KeyError'>, KeyError('peers_ranked',), <traceback object at 0x1ce7680>)

Can't create prediction market: "decision is not in the database"

Here is the sequence of commands that led to the error:

deploy@loopy:~/Truthcoin-POW$ ./truth_cli.py ask_decision j_1 bitcoin_350 The price of a Bitcoin will be below $350/BTC at 5 PM PST on October 15, 2014.
added tx: {'count': 8, 'vote_id': u'j_1', 'decision_id': u'bitcoin_350', 'signatures': ['HHicCzKDbgqfrsXKbX/LjW6EJMq0iqMdAt6LKxGJ3RYHL6KD6zTyCVuI5XHybS1CyOg5BzfkqidXrXm6CnPze74='], 'pubkeys': ['040f1b56080aea058f57f525df9175c036d506dd0cc46e206f2bfb41f01149597c9344575880f581d43e3879893db13eb9b9eba6fdd497cbd0b394f5624f2e3b49'], 'txt': u'bitcoin_350 The price of a Bitcoin will be below 50/BTC at 5 PM PST on October 15, 2014.', 'type': 'propose_decision'}
deploy@loopy:~/Truthcoin-POW$ ./truth_cli.py make_PM
What is the address or pubkey of the owner of the PM?
>11wN3DKx8n9uS68VgEtRnSZM3PWUZND
What is the unique name for this new prediction market?
>bitcoinpricepm
how big should B be? Initial investment is B*ln(n) where n is the number of states
>250000
how many decisions is this prediction market to be based upon?
>1
What is the unique name of the 0 decision?
>bitcoin_350
how many states can this PM result in?
>2
what is the text title of the 0 state?
>yes
how does the 0 state depend upon the outcome of the decisions? For example: if there are 2 decisions, and this market only comes true when the first is "yes" and the second is "no", then you would put: "1 0" here.
>1
what is the text title of the 1 state?
>no
failed to add tx because: decision is not in the database: bitcoin_350tx: {'count': 9, u'B': 250000, u'type': u'prediction_market', u'states': [u'yes', u'no'], u'PM_id': u'bitcoinpricepm', 'signatures': ['GxnV/N6fThwZIwcg9mwzdv8yT9m33lkdjcGuSHbl28qccYuTLPw4eXSR0Ms2Xeanb2NG2Ngyhxm2ExjRkacx4E8='], u'fees': 0, u'owner': u'11wN3DKx8n9uS68VgEtRnSZM3PWUZND', 'pubkeys': ['040f1b56080aea058f57f525df9175c036d506dd0cc46e206f2bfb41f01149597c9344575880f581d43e3879893db13eb9b9eba6fdd497cbd0b394f5624f2e3b49'], u'decisions': [u'bitcoin_350'], u'states_combinatory': [[1]]}

difficulty command failing

truthcoin api main failure : (<type 'exceptions.NameError'>, NameError("global name 'target' is not defined",), <traceback object at 0x10d1ee830>)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.