-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SON object and operations #144
Conversation
…ork/peerplays into feature/SONs-base
Building error, SONs-base + 144 peerplays/peerplays/libraries/chain/proposal_evaluator.cpp:144:32: error: ‘HARDFORK_SON_TIME’ was not declared in this scope |
my apologies, a file was missing. |
Regarding vote_id_type::son database_api.cpp There is a switch inside this function, and it does not have vote_id_type::son as one of the cases. Should it be there? |
One more question about voting... With this PR, is SON voting functional, and how we can verify this? Can you provide a curl command or anything else? |
This pull request is for this document: https://peerplays.atlassian.net/wiki/spaces/PIX/pages/333971489/SON+Objects+and+Operators The voting is described here as far as i know: https://peerplays.atlassian.net/wiki/spaces/PIX/pages/342261826/SON+Voting+LLD And there is an attempt of implementation where some parts will be maybe reusable at: #49 In regards to the |
IMHO, the document about voting is confusing: https://peerplays.atlassian.net/wiki/spaces/PIX/pages/342261826/SON+Voting+LLD It introduce new fields to the son object and new fields and functionality(users must have a vesting balance to register)to the create operation in compassion with the former document, it introduces the delete operation again, it mentions sidechain diagrams that are unrelated. |
@satyakoneru : please look into the comments on LLDs here. |
Yea : we can revise this later
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Alfredo Garcia <notifications@github.com>
Sent: Sunday, September 29, 2019 6:02 PM
To: peerplays-network/peerplays
Cc: Bobinson K B; Review requested
Subject: Re: [peerplays-network/peerplays] SON object and operations (#144)
@oxarbitrage commented on this pull request.
________________________________
In tests/tests/son_operations_tests.cpp<#144 (comment)>:
{
- trx_state = ptr_trx_state.get();
+ vesting_balance_create_operation op;
+ op.creator = alice_id;
+ op.owner = alice_id;
+ op.amount = asset(10);
+ op.balance_type = vesting_balance_type::unspecified;
not in this branch: https://github.com/peerplays-network/peerplays/blob/feature/SONs-base/libraries/chain/include/graphene/chain/vesting_balance_object.hpp#L149
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub<#144?email_source=notifications&email_token=AEJ3V2K6ZGZPFB3NBSS354DQMCN47A5CNFSM4IZAAL5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGIH3WI#discussion_r329351901>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEJ3V2OUM6XSGG3W7CARZQLQMCN47ANCNFSM4IZAAL5A>.
|
Quick question... Is this ready for a merge? Does it have all thats planned? |
I had been out the last week but i think there was 1 thing missing here that was the vesting balance you need to have locked to became a son member. Needs to be tied to the create operation. Besides that the main things are all done. I will review the documents in case anything was changed or added and will add that functionality to merge if you agree. Voting should be done in a new pull request. |
I agree. Please finish vesting balance as soon as possible. Thanks |
Replaces #48
I toke the initial work from @pixelplex , made some naming changes, added the update operation, added hardfork guards and other small changes.
The next step should be to review and port the code from b3786b3 into here in one side, this will allow to vote for this objects.
In the other side we can follow with creating the needed cli_wallet commands described in internal document. In order to do this we are going to need the cli_wallet tests from develop.