Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nethyb

Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14
106
General Discussion / Re: publish feed price automatic(From BitSuperLab)
« on: January 21, 2015, 07:17:55 am »
...
Quote
seems rpc call service not available,
can you check if the ip,port,user,password of rpc service is correct?

 +5% Thanks alt...

You got me looking in the right area - turned out I hadn't changed the RPC listening port for the devshares delegate running on the same server! So it was conflicting, probably polling my devshares RPC interface!

Problem resolved.

107
DevShares / DVS delegate www-minebitshares-com
« on: January 18, 2015, 02:58:49 pm »
I've registered a 3% DVS delegate as suggest by BM to:

Test the delegate upgrade process before upgrading the www.minebitshares-com delegate on the on the BTS chain
Find bugs/issues with using new DVS api/features by testing them on the minebitshares node.js based dev pool
The pools auto-payout code and use of public keys tend to find issues like these https://github.com/BitShares/bitshares/issues/1196 which I log on github

I could do with a few votes to start producing blocks - www-minebitshares-com is in position 102 at the moment, thx.

108
Muse/SoundDAC / Re: Small Website Tweaks
« on: January 18, 2015, 05:22:47 am »
And the SOCIAL MEDIA (Facebook Twitter Google +) links don't appear to be active - looks great.

109
General Discussion / Re: publish feed price automatic(From BitSuperLab)
« on: January 18, 2015, 04:24:02 am »
I'm getting the following errors on one of my delegates (other is OK strangely) since I've updated the bts client to "v0.5.0" and so I'm unable to publish feeds...

Code: [Select]
Warning: unknown error, can't fetch price
'result'

some of the log results are:

Code: [Select]
2015-01-18 03:45:54,138[ERROR]: Error fetching results from btc38!
2015-01-18 03:45:54,138[ERROR]: Error get price from btc38!
2015-01-18 03:45:57,462[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 03:45:57,462[ERROR]: 'result'
Traceback (most recent call last):
  File "./bts_feed_auto.py", line 197, in <module>
    fetch_price()
  File "./bts_feed_auto.py", line 100, in fetch_price
    price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 44, in get_depth_in_range
    price = self.get_price(quote,base)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 234, in get_price
    order = response.json()["result"]
KeyError: 'result'
2015-01-18 04:07:20,687[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 04:07:20,687[ERROR]: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "./bts_feed_auto.py", line 197, in <module>
    fetch_price()
  File "./bts_feed_auto.py", line 100, in fetch_price
    price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 48, in get_depth_in_range
    base_precision =  self.get_precision(base)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 295, in get_precision
    return float(response.json()["result"]["precision"])
TypeError: 'NoneType' object is not subscriptable
2015-01-18 04:08:31,155[ERROR]: Error fetching results from yunbi!
2015-01-18 04:08:31,157[ERROR]: Error get price from yunbi!
2015-01-18 04:08:31,165[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 04:08:31,165[ERROR]: 'result'
Traceback (most recent call last):
  File "./bts_feed_auto.py", line 197, in <module>
    fetch_price()
  File "./bts_feed_auto.py", line 100, in fetch_price
    price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 44, in get_depth_in_range
    price = self.get_price(quote,base)
  File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 234, in get_price
    order = response.json()["result"]
KeyError: 'result'

Any ideas? I've completely re-cloned the operations_tools from github and copied my config.json from the working delegate and getting the same results...

110
DevShares / Re: Requesting Seed Nodes
« on: January 17, 2015, 02:52:45 pm »
Code: [Select]
54.79.27.224:2009
Located in Sydney, Australia on AWS

111
Technical Support / BTS wallet_contact issues
« on: December 29, 2014, 08:18:25 am »
I use BTS wallet contact accounts associated with BTS public keys to allow miners to mine BTS at minebitshares.com without having to register an account to login...

They simply user their BTS key as their username...

i.e. BTSX7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q

This has worked very well for the last few months, but since Dec 20th and  "client_version": "v0.4.27.1", the pools auto payouts have failed due to issues with 'resolving' wallet contacts.

There are two issues it appears: 

1. When I've created a local contact account using a public key,  if the public key belongs to a registered account, it appears the client 'resolves' the key to the registered account name and I can no longer reference the local contact using the name I originally used as the contact name.

2. I cannot remove the contact - it appears as though wallet_remove_contact_account does not save the removal to the users wallet - the removed contact re-appears on restart

This is not true for newly registered accounts - this may be only true for accounts registered before the change from BTSX to BTS public keys.

It's effect means I've having to manually payout miners, which is a very time intensive process and so is delaying payments...

I've detailed the steps below so someone can repeat and confirm the issue, any help or confirmation that this is a know issue, would be very useful, I'll add it to github as well.

Adding a local contact account for a public key that has been registered.

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_add_contact_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q
Backing up wallet...
Wallet automatically backed up to: /home/ubuntu/coins/wallets/bitshares/wallets/.backups/btsx-minebitshares-pool-dev/btsx-minebitshares-pool-dev-20141229T074127-account_add.json
btsx-minebitshares-pool-dev (unlocked) >>> wallet_add_contact_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8qOK

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL         
mulla                              BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q           2014-07-29T11:48:20   NO             0         
payouts-minebitshares-com          BTS6MGC2NPkVDHhdrDoEpFKyp6jSW9UzLGMZNJBn9NN3ghDhyCuSn           2014-12-29T07:13:30   NO             0         
scrypt-btsx-pool-minebitshares-dev BTS8FfztmR6VaynkX73RUay8RZ74MHiBMA2MWaTZ3rnKH6GQte9kC           NO                    NO             0         
sha256-btsx-pool-minebitshares-dev BTS4vfunnBZomEjKnuSgtb2FRz4jwCSFQKa9SHAHYk6wJTduf6EwT           NO                    NO             0         
x11-btsx-pool-minebitshares-dev    BTS6jRbVkT7kAdTM9x3B3AjpmjatQy7f9qfreZDCAiF6QdYRyVVaQ           NO                    NO             0         

Note: the client appears to have ‘resolved’ the contact into the registered name ‘mulla’ associated with the public key.

Right away, I’m able to refer to the contact account …

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_transfer 1 BTS lostfound lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q PayoutTest
TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
======================================================================================================================================================================
2014-12-29T07:46:01 PENDING   lostfound           mulla               1.00000 BTS             PayoutTest                                  0.50000 BTS         7d9530de
Email ea300bcfe53a09b820f62ae893015fe947b7b722 sent successfully, and is now known as 00036abf022762e49026f84212a4d816d4874889.

and...

btsx-minebitshares-pool-dev (unlocked) >>> wallet_get_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q
{
  "index": 165,
  "id": 13985,
  "name": "mulla",
  "public_data": {
    "gravatarID": ""
  },
  "owner_key": "BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q",
  "active_key_history": [[
      "2014-07-29T11:48:20",
      "BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q"
    ]
  ],
  "registration_date": "2014-07-29T11:48:20",
  "last_update": "2014-07-29T11:48:20",
  "delegate_info": null,
  "meta_data": null,
  "is_my_account": false,
  "approved": 0,
  "is_favorite": false,
  "block_production_enabled": false,
  "last_used_gen_sequence": 0,
  "private_data": null
}

But as soon as I restart the bitshares client…

The local contact can no longer be referenced!

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_get_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q
20006 unknown_account: unknown account
Unknown account name!
    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q"}
    th_a  wallet.cpp:1315 get_account

    {}
    th_a  wallet.cpp:1334 get_account

    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q"}
    th_a  wallet_api.cpp:765 wallet_get_account

    {}
    th_a  common_api_client.cpp:4546 wallet_get_account

    {"command":"wallet_get_account"}
    th_a  cli.cpp:579 execute_command
btsx-minebitshares-pool-dev (unlocked) >>>

And I can no longer use the contact to send payments...

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_transfer 1 BTS lostfound lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q PayoutTest
20006 unknown_account: unknown account
Unknown account name!
    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q"}
    th_a  wallet.cpp:1315 get_account

    {}
    th_a  wallet.cpp:1334 get_account

    {}
    th_a  common_api_client.cpp:3759 wallet_transfer

    {"command":"wallet_transfer"}
    th_a  cli.cpp:579 execute_command

If I try and add the contact again… it recognises the public key is associated to the registered name....

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_add_contact_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q
20038 duplicate_key: duplicate key
Provided key already belongs to another wallet account! Provided: lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q, existing: mulla
    {"p":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q","e":"mulla"}
    th_a  wallet.cpp:1274 add_contact_account

    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q","key":"BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q"}
    th_a  wallet.cpp:1301 add_contact_account

    {}
    th_a  common_api_client.cpp:3559 wallet_add_contact_account

    {"command":"wallet_add_contact_account"}
    th_a  cli.cpp:579 execute_command

And if I try and remove the contact using the registered name it appears to work OK…

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_remove_contact_account mulla
OK

And is no longer listed using wallet_list_accounts

But I cannot create a new contact with that same public key

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_add_contact_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q
10 assert_exception: Assert Exception
!key_record.valid(): Wallet already contains that key
    {}
    th_a  wallet_db.cpp:393 add_contact_account

    {"blockchain_account_record":{"id":0,"name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q","public_data":null,"owner_key":"BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q","active_key_history":[["2014-12-29T07:52:45","BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q"]],"registration_date":"1970-01-01T00:00:00","last_update":"2014-12-29T07:52:45","delegate_info":null,"meta_data":null}}
    th_a  wallet_db.cpp:401 add_contact_account

    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q","key":"BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q"}
    th_a  wallet.cpp:1301 add_contact_account

    {}
    th_a  common_api_client.cpp:3559 wallet_add_contact_account

    {"command":"wallet_add_contact_account"}
    th_a  cli.cpp:579 execute_command
btsx-minebitshares-pool-dev (unlocked) >>>

And - it appears as though it was never actually deleted, because it appears again after I restart the client!

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       
mulla                              BTS7wjLyYs2cR1Gj9WX9vW1kELndM2u4UCEnr5VgLyTiH1wib3w8q           2014-07-29T11:48:20   NO             0         
payouts-minebitshares-com          BTS6MGC2NPkVDHhdrDoEpFKyp6jSW9UzLGMZNJBn9NN3ghDhyCuSn           2014-12-29T07:13:30   NO             0         
scrypt-btsx-pool-minebitshares-dev BTS8FfztmR6VaynkX73RUay8RZ74MHiBMA2MWaTZ3rnKH6GQte9kC           NO                    NO             0         
sha256-btsx-pool-minebitshares-dev BTS4vfunnBZomEjKnuSgtb2FRz4jwCSFQKa9SHAHYk6wJTduf6EwT           NO                    NO             0         
x11-btsx-pool-minebitshares-dev    BTS6jRbVkT7kAdTM9x3B3AjpmjatQy7f9qfreZDCAiF6QdYRyVVaQ           NO                    NO             0         
--- syncing with p2p network, 14959 blocks left to fetch
btsx-minebitshares-pool-dev (unlocked) >>>

And still cannot reference it…

Code: [Select]
btsx-minebitshares-pool-dev (unlocked) >>> wallet_get_account lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q
20006 unknown_account: unknown account
Unknown account name!
    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q"}
    th_a  wallet.cpp:1315 get_account

    {}
    th_a  wallet.cpp:1334 get_account

    {"account_name":"lc.bts7wjlyys2cr1gj9wx9vw1kelndm2u4ucenr5vglytih1wib3w8q"}
    th_a  wallet_api.cpp:765 wallet_get_account

    {}
    th_a  common_api_client.cpp:4546 wallet_get_account

    {"command":"wallet_get_account"}
    th_a  cli.cpp:579 execute_command

112
OMG, i can't believe i missed this :(

Ok, how do I start mining?  What hardware?  or am I missing the idea?

Ta..

Hi NineLives, love your enthusiasm...

Head on over to pool.minebitshares.com to get started mining BTS in a flash...

You can virtually mine BTS using X11 or Scrypt algos with your mining hardware - the site is early beta but fully functioning, with payouts currently every 48 hrs.

You can see past payouts on the site as well the coins we are/have been mining and trading for BTS etc.

We've paid 151,702 BTS/X in 857 payouts to 45 separate BTS miners since Oct 20.

The pool is in early beta and daily monitoring, and operation of the pool has severely limited the time I've had for getting on with the development plans but I'm expecting to be able to put some serious effort in over the coming holiday period.

Have fun and let me know if you have any issues.

113
Has the API response changed for wallet_account_balance call in v0.4.25-RC1?

My balance query code is a failing, meaning I can't pay out miners and wondered if it's due to a change in the API call?

114
Apologies, payouts have been delayed because of a required BTS client update to fix scan issues, and it appears the new "v0.4.25-RC1" client has introduced some changes to querying balances that mean I need to tweak the pool code.

We have about 5000 BTS to pay from last 2 days, expect it in next 12hrs when I get a chance to update and test the pool code...

115
Technical Support / Scan failures
« on: December 09, 2014, 04:26:38 pm »
Any tips on how to fix this issue... I've tried both reset-blockchain and rebuild-index to no avail...

I'm seeing these errors and it appears funds I've  sent to any of the wallet accounts are not coming through..

I've been using "client_version": "v0.4.24-5-g1854346", successfully for at least a couple of weeks.

Code: [Select]
Beginning scan at block 1209398...
Scan failure.
Beginning scan at block 1209398...

116
Thanks toast... I've use the compare link you shared to have a look myself  :)





117
Given that at some point BitShares users will be importing their BTS/PTS and associated AGS private keys into the the sparkle client to claim their genesis sparkle.

Has a trusted BitShares dev review the code to ensure there are no security issues?

I'm sure everything is fine, just being cautious before I fire up the client.

118
General Discussion / BitShares helps to elect next US President
« on: November 21, 2014, 02:20:21 pm »
OK, the title is a bit far fetched, but it could turn out to be true! 

BitShares is featured heavily in the article:

RANDPAULCOIN TO FUND 2016 PRESIDENTIAL CAMPAIGN
https://www.cryptocoinsnews.com/randpaulcoin-fund-2016-presidential-campaign/

I never really understood the implication of this Bitshares clone, but now see how valuable it is likely to be in helping to get Bitshares noticed an understood, and I'm genuinely exited about how much it (and any other clone) can help. I'd encourage us all to do what we can to help them launch successfully.

Make sure you read the announcment thread as well https://bitcointalk.org/index.php?topic=848182.0;all- it's really highlights why they chose BitShares and it's advantage.

And if your interested in the politics, here is a piece on why Rand Paul could be a challenger to Hillary Clinton
http://libertyblitzkrieg.com/2014/11/18/this-is-why-rand-paul-is-hilary-clintons-worst-nightmare/

119
General Discussion / Re: Imagine
« on: November 21, 2014, 10:24:48 am »
 :)
Imagine having this made into a youtube music video (John Lennon / Imagine music of course https://www.youtube.com/watch?v=yRhq-yO1KN8 ), and how it could spread virally through the crypto / non-crpyto community to get the message out... imagine...

And time it to coincide with this...

http://www.telegraph.co.uk/news/celebritynews/11243506/A-listers-assemble-for-largest-charity-singalong-of-John-Lennons-Imagine.html

120
Paid out over 4,500BTS today, thanks to another KnC TITAN BitShares mining fan using the pool to reach over 750Mh/s of scrypt hashing power


Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14