-
Notifications
You must be signed in to change notification settings - Fork 3
Initialize Blockchain Object #1308
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
Open
sukrawidhyawan
wants to merge
17
commits into
zoobc:experimental
Choose a base branch
from
sukrawidhyawan:1295-Create-blockchain-Object-TX-type
base: experimental
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Initialize Blockchain Object #1308
sukrawidhyawan
wants to merge
17
commits into
zoobc:experimental
from
sukrawidhyawan:1295-Create-blockchain-Object-TX-type
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…Create-blockchain-Object-TX-type
[ Stabilize ] Optimization and bug fixes
delivery binary into experimental servers on deploy develop (#1349)
* update func WillSmith, isMe, IsBlockValid on BlocksmithStrategySpine * create func CumulativeDifficulty on strategy * add getRound and temporary-CanPersist function * remove func GetSortedBlocksmithsMap from package strategy * add getSkippedBlocksmith functioon * add new func , remove func , change blocksmithIndex to round * remove parameter 'block' in isMe func * #1190 inject random number generator to strategy main * #1190 fix candidate time calculation * #1190 separate get smithing round and smithing index function * #1190 temporarily disable spinechain smithing * Implementated the new blocksmith selection on spinechain * #1190 handle previous block skipped blocksmith - blocktime offset. * #1190 avoid process node-admit, node-expel, blocksmith reward, and skipped blocksmith before accepted/generated block is sure to be persisted to database * #1190 use estimated persist timestamp for block validation Co-authored-by: andy-shi88 <[email protected]>
* CreateUnitTestNodeAddressInfoService
…ore or askipped blocksmith (#1352)
andy-shi88
approved these changes
Nov 23, 2020
…se deadlock, SQLITE_BUSY (reported as database lock error) which later cause unresolveable fork due to inability to process block (#1362)
…e-blockchain-Object-TX-type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is the initialize of the blockchain object & adds a transaction type to create a blockchain object.
Breakdown
blockchain_object
to manage blockchain objectblockchain_object_property
to manage immutable blockchain object propertiesCreateBlockchianObject
Reference Issue
Close #1295
Step to Test (optional)
go run main.go transaction create-blockchain-object --immutable-property-keys="key1,key2,key3" --immutable-property-values="values1,values2,values3" --balance=100 --sender-seed "stand cheap entire summer claw subject victory supreme top divide tooth park change excite legend category motor text zebra bottom mystery off garage energy" --fee 1 --post