Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

RFC: Tangle API - #23

Open
zesterer wants to merge 1 commit into
iotaledger-archive:masterfrom
zesterer:master
Open

RFC: Tangle API#23
zesterer wants to merge 1 commit into
iotaledger-archive:masterfrom
zesterer:master

Conversation

@zesterer

@zesterer zesterer commented Oct 24, 2019

Copy link
Copy Markdown
Contributor

@zesterer zesterer changed the title Added initial draft of Tangle RFC RFC: Tangle API Oct 24, 2019
Comment thread text/0000-tangle/0000-tangle.md Outdated
Comment thread text/0000-tangle/0000-tangle.md Outdated
@zesterer

zesterer commented Oct 30, 2019

Copy link
Copy Markdown
Contributor Author

Considerations (mostly for my benefit):

  • Internal mutability (concurrent hashmap, RefCell for each vertex)
  • Async API for Tangle (to permit interaction with database)
  • Database is largely insert-only and immutable

tsvisabo
tsvisabo previously approved these changes Nov 13, 2019
Comment thread text/0000-tangle/0000-tangle.md Outdated
let vertices = &mut self.vertices;
let txs_to_approvers = &self.txs_to_approvers;

// The algorithm is recursive, but we don't want to use the stack

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this comment is confusing since we are using a stack :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I should definitely clarify what I mean by that comment.

* Initial commit

* Added Drawbacks, Rationale and Unresolved questions sections

* Fixed tryte string example

* Addressed ternary issues, renamed RFC document

* Encoding information, fixed shortened phrases, minor formatting changes

* Simplified example with new API features, minor fixes

* Removed 'we' from ternary RFC

* Consistent punctuation in ternary RFC

* Extra encoding information for Trits and TritBuf

* Added zero-cost explanation

* Updated feature name

* Fixed URL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants