Author Topic: how to withdraw delegate pay when amount is unknown? [RESOLVED]  (Read 3021 times)

0 Members and 1 Guest are viewing this topic.

Offline Riverhead

Transaction scanning isn't needed for delegate pay since it's public on the blockchain.

This is my solution to the problem: https://github.com/Riverhead/balance_keeper

Oh wow, you are a lifesaver! Many thanks +5% +5%

edit: can this withdraw to an account not in the wallet?
You're welcome :).

Yes it will send to any registered account.

Sent from my Timex Sinclair.


Offline monsterer

Transaction scanning isn't needed for delegate pay since it's public on the blockchain.

This is my solution to the problem: https://github.com/Riverhead/balance_keeper

Oh wow, you are a lifesaver! Many thanks +5% +5%

edit: can this withdraw to an account not in the wallet?
« Last Edit: December 04, 2014, 09:05:04 pm by monsterer »
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline Riverhead

Transaction scanning isn't needed for delegate pay since it's public on the blockchain.

This is my solution to the problem: https://github.com/Riverhead/balance_keeper

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Ok, I've done a wallet_delegate_withdraw_pay to my delegate account, but the balance is still showing 0?

Make sure scanning is on:

wallet_set_transaction_scanning true
rescan

Will this keep the wallet up to date as future transactions happen? Is this equivalent to keeping wallet unlocked in this way?
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline monsterer

Make sure scanning is on:

wallet_set_transaction_scanning true
rescan

Thanks, that worked.

Any idea how I can send to a public key? Seems wallet_transfer_asset_to_address needs an actual address.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Ok, I've done a wallet_delegate_withdraw_pay to my delegate account, but the balance is still showing 0?

Make sure scanning is on:

wallet_set_transaction_scanning true
rescan
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline monsterer

Ok, I've done a wallet_delegate_withdraw_pay to my delegate account, but the balance is still showing 0?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline vikram

I'm trying to write a script to regularly withdraw pay from my delegate into an account not hosted on my server, for security reasons.

When I do wallet_account_balance I get 0.01 BTS, so I presume the delegate pay isn't listed this way?

wallet_delegate_withdraw_pay requires an amount, but there doesn't appear to be any way to know what the total is. What am I missing?

Use "wallet_get_account <your_delegate_name>" and you will see the available pay that can be withdrawn.

This should not be a problem after the next hardforking release, which will allow you specify a different key that can produce blocks (and publish feeds) but not withdraw your pay.
« Last Edit: December 04, 2014, 07:24:08 pm by vikram »

Offline monsterer

I'm trying to write a script to regularly withdraw pay from my delegate into an account not hosted on my server, for security reasons.

When I do wallet_account_balance I get 0.01 BTS, so I presume the delegate pay isn't listed this way?

wallet_delegate_withdraw_pay requires an amount, but there doesn't appear to be any way to know what the total is. What am I missing?
« Last Edit: December 04, 2014, 10:35:36 pm by bytemaster »
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads