1126
General Discussion / Re: Dry Run 2: The Real Deal
« on: June 18, 2014, 03:30:34 pm »What's meaning of wallet_set_delegate_trust_level number ? For example , what does 1and 5 and 10 stands for?
Is there any rule or guide about trust_level when we want to give someone trust? I see somebody give others trust_level 5 or 10 or 1. What's the difference?
After using this command, why we need to transfer XTS to our account?Code: [Select]xeldal-w (unlocked) >>> help wallet_set_delegate_trust_level
Usage:
wallet_set_delegate_trust_level <delegate_name> [trust_level] Updates the trust placed in a given delegate
Updates the trust placed in a given delegate
Parameters:
delegate_name (account_name, required): the name of the delegate to set trust level on
trust_level (int32_t, optional, defaults to 0): Positive for Trust, Negative for Distrust, 0 for Neutral
Returns:
void
aliases: trust, set_trust
Im not sure 10 is any different that 1, perhaps someone can clarify that.
Currently, all positive integers are treated the same, and all negative integers are treated the same. See: https://github.com/BitShares/bitshares_toolkit/blob/63798df7ca63f18e1face9ae87b42a9ee00a1383/libraries/wallet/wallet.cpp#L2717-L2723
We should probably restrict the input to only {-1,0,1}.