Show Posts
|
Pages: [1]
|
hi everyone, while working on the rpc calls i encountered an error message: 'A specified filter is missing the 'field' field' http://gyazo.com/892160fb9168ef2d507ec8624a091b44i started expirementing with the parmeters encoding and when i sent as parameter: string '{"method":"get_balances","params":{"filters":{"field":"address","op":"==","value":"15cdAQmmBrz1BEVtipaQ1dVHtTwmfcxzw5"}},"id":1}' (length=128) counterpartyd stopped working: http://gyazo.com/8e76f93cb081c6403690aa28268b8e3dtext version: Traceback (most recent call last): File "/root/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 694 , in <module> blocks.follow(db) File "/root/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 678, i n follow parse_block(db, block_index, block_time) File "/root/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 78, in parse_block parse_tx(db, tx) File "/root/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 35, in parse_tx order.parse(db, tx, message) File "/root/counterpartyd_build/dist/counterpartyd/lib/order.py", line 107, in parse match(db, tx) File "/root/counterpartyd_build/dist/counterpartyd/lib/order.py", line 160, in match fee = int(D(tx1['fee_required']) * D(forward_amount) / D(tx0_give_remaining) ) UnboundLocalError: local variable 'tx0_give_remaining' referenced before assignm ent why did that happen? how should i have encoded the call (php example would be great)? to keep working i am now rebuiliding the database, is there a better way to deal with it if it happens again?
|
|
|
to see the balance of address try to issue: counterpartyd balances 14RAyA4JabgVftF1ezKQqUkaQi8iaPqX9K thank you Anotheranonlol. i noticed that 'balances' does work. however, checking the balance of an address is not enough, 'get_sends' and 'get_address' are vital for the client. has anyone here managed to use these function succesfully or know what am i doing wrong?
|
|
|
count me in  good luck
|
|
|
hi everyone, i need help setting up counterpartyd on linux. i have running instances that i would like to run counterpartyd on. there is a small bounty  pm me If counterparty build of xnova don't work, you can make something like that : virtualenv -p /usr/bin/python3 counterparty_env
source counterparty_env/bin/activate
pip install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1
wget https://sqlite.org/2014/sqlite-autoconf-3080301.tar.gz
tar -xvzf sqlite-autoconf-3080301.tar.gz cd sqlite-autoconf-3080301 ./configure make make install cd ..
pip install https://github.com/rogerbinns/apsw/archive/master.zip
et voila! thank you for your response. this is what i got when i ran it: http://gyazo.com/a1f973ef900986dc230740e8bc70b54chow do i proceed? Like the message says don't run counterpartyd with root user. Do something like this: adduser counterparty chown -r counterparty:counterparty ./ sudo counterparty
screen -S counterpartyd ./counterpartyd
ctrl+a+d to detach the screen and "screen -r counterpartyd" to attach it. You can also make a service with: https://github.com/xnova/counterpartyd_build/blob/master/dist/linux/init/counterpartyd.conf.template
thank you again for your help. when i run it as a non root user it still says: http://gyazo.com/7e7482dfbbee8b28a88be00a74028ff5what could cause this? pp xnova cityiglut biggest fish anyone?
|
|
|
hi everyone, i need help setting up counterpartyd on linux. i have running instances that i would like to run counterpartyd on. there is a small bounty  pm me If counterparty build of xnova don't work, you can make something like that : virtualenv -p /usr/bin/python3 counterparty_env
source counterparty_env/bin/activate
pip install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1
wget https://sqlite.org/2014/sqlite-autoconf-3080301.tar.gz
tar -xvzf sqlite-autoconf-3080301.tar.gz cd sqlite-autoconf-3080301 ./configure make make install cd ..
pip install https://github.com/rogerbinns/apsw/archive/master.zip
et voila! thank you for your response. this is what i got when i ran it: http://gyazo.com/a1f973ef900986dc230740e8bc70b54chow do i proceed? Like the message says don't run counterpartyd with root user. Do something like this: adduser counterparty chown -r counterparty:counterparty ./ sudo counterparty
screen -S counterpartyd ./counterpartyd
ctrl+a+d to detach the screen and "screen -r counterpartyd" to attach it. You can also make a service with: https://github.com/xnova/counterpartyd_build/blob/master/dist/linux/init/counterpartyd.conf.template
thank you again for your help. when i run it as a non root user it still says: http://gyazo.com/7e7482dfbbee8b28a88be00a74028ff5what could cause this?
|
|
|
hi everyone, i need help setting up counterpartyd on linux. i have running instances that i would like to run counterpartyd on. there is a small bounty  pm me If counterparty build of xnova don't work, you can make something like that : virtualenv -p /usr/bin/python3 counterparty_env
source counterparty_env/bin/activate
pip install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1
wget https://sqlite.org/2014/sqlite-autoconf-3080301.tar.gz
tar -xvzf sqlite-autoconf-3080301.tar.gz cd sqlite-autoconf-3080301 ./configure make make install cd ..
pip install https://github.com/rogerbinns/apsw/archive/master.zip
et voila! thank you for your response. this is what i got when i ran it: http://gyazo.com/a1f973ef900986dc230740e8bc70b54chow do i proceed?
|
|
|
hi everyone, i need help setting up counterpartyd on linux. i have running instances that i would like to run counterpartyd on. there is a small bounty  pm me
|
|
|
Hi guys, I am trying to make counterparyd to work on ubuntu vps, i have installed everything and when i try to run it i get the following response : Please run this script as a non-root user. So i went ahead and created a user, and now i get this : -sh: 1: counterpartyd: Permission denied
any advice will be much appreciated
|
|
|
wtb 500 xcp
pm your best offers
|
|
|
I've checked with the counterparty client and I can see your burn: Burns +-------------+------------+-------------------+---------------------+ | Block Index | Burned | Earned | Tx Hash | +-------------+------------+-------------------+---------------------+ | 283421 | 0.9998 BTC | 1035.15656364 XCP | 52941c45...77f6f051 | +-------------+------------+-------------------+---------------------+
thanks
|
|
|
|