Skip to content
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

Feature/decentralized ddo (based on feature/StartOrder) #287

Merged
merged 9 commits into from
Sep 17, 2020

Conversation

alexcos20
Copy link
Member

No description provided.

@alexcos20 alexcos20 marked this pull request as ready for review September 16, 2020 14:48
): Promise<TransactionReceipt> {
let flags = 0
const compressed = await this.LZMACompressDDO(ddo)
flags = flags | 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flags will be always zero

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no.
flags =0 - raw ddo (json)
flags bit 1 set -> ddo is lzma compressed
flags bit 2 set -> ddo is ecies encrypted (wip)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, should flags be a function input ?

@alexcos20 alexcos20 merged commit 931e918 into feature/startOrder Sep 17, 2020
@alexcos20 alexcos20 deleted the feature/decentralized_DDO branch September 17, 2020 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants