BitShares Forum
Main => General Discussion => Topic started by: clayop on February 07, 2015, 02:38:39 am
-
I'm having hard time with escrow withdrawal (DVS)
Is there any document?
-
I don't see one. I think it would be here. https://github.com/BitShares/bitshares/tree/develop/docs
-
I don't see one. I think it would be here. https://github.com/BitShares/bitshares/tree/develop/docs
I'm still struggling with releasing escrow.
>> escrow clayop
[{
"creating_transaction_id": "1b7e083af87d4a78eccb2e91fbacfa4eacb2159f",
"balance_id": "BTSJ2KPSu7tFKW9NPXnWLs3tU6Vr6yPjz1XY",
"balance": {
"amount": 100,
"asset_id": 316
},
"sender_account_name": "clayop",
"receiver_account_name": "jaewoocho",
"escrow_agent_account_name": "delegate-clayop",
"agreement_digest": "0000000000000000000000000000000000000000000000000000000000000000"
}
]
and when I try to release it by using,
>> wallet_release_escrow delegate-clayop BTSJ2KPSu7tFKW9NPXnWLs3tU6Vr6yPjz1XY delegate-clayop
10 assert_exception: Assert Exception
released_by == "sender" || released_by == "receiver" || released_by == "agent":
{}
bitshares wallet_api.cpp:744 bts::client::detail::client_impl::wallet_release_escrow
{}
bitshares common_api_client.cpp:4304 bts::rpc_stubs::common_api_client::wallet_release_escrow
{"command":"wallet_release_escrow"}
bitshares cli.cpp:626 bts::cli::detail::cli_impl::execute_command
What was wrong?
-
Use the word "agent" instead of the agent name (delegate-clayop)
-
Use the word "agent" instead of the agent name (delegate-clayop)
Thanks Toast!
-
Why do escrows use account names and not conditions? Shouldn't each of the sender, receiver, and agent be a condition which can be a single address or a multisig condition?
-
Why do escrows use account names and not conditions? Shouldn't each of the sender, receiver, and agent be a condition which can be a single address or a multisig condition?
Anyone?
-
Why do escrows use account names and not conditions? Shouldn't each of the sender, receiver, and agent be a condition which can be a single address or a multisig condition?
Anyone?
If I remember correctly bytemaster answered this in one of the recent hangouts. I believe the long term plan is to establish a multisig condition at the account level so that any balances sent to that account would automatically require the multisig condition for withdrawal and any escrow operations done by an account (who is either a sender, receiver, or agent of that escrow) would also require the multisig conditions specified in the account to be satisfied to be considered a valid operation.