Coder Social home page Coder Social logo

Drop transaction meta about stellar-protocol HOT 5 CLOSED

stellar avatar stellar commented on July 20, 2024
Drop transaction meta

from stellar-protocol.

Comments (5)

osyed avatar osyed commented on July 20, 2024

I totally agree. The core stellard servers should not be carrying this data. But there should be servers that interface between the clients and the stellard servers that can provide this data (the client serving servers). Perhaps the current stellar-wallet servers can be enhanced to provide this service. It essentially becomes a three tier architecture. A while back I had proposed such an architecture for bitcoin.
http://arimaa.com/bitcoin

from stellar-protocol.

donovanhide avatar donovanhide commented on July 20, 2024

Is the idea to just remove the TxnMeta column from the sqlite transactions.db? Or is it also to remove the Metadata from the transaction leaf nodes in the nodestore? By my observations of the Ripple nodestore, 90% of the disk space is used by the account state tree inner nodes and LedgerHashes, so getting rid of TransactionMetadata isn't really going to solve the disk space issue:

https://gist.github.com/donovanhide/11272001

I agree that it is inane that the nodestore isn't indexed so you can extract it from there rather than having it duplicated in RawTxn and TxnMeta fields in the sqlite db. Also consider that determining the AffectedNodes from the before and after state in the Account State is not straightforwards...

from stellar-protocol.

nullstyle avatar nullstyle commented on July 20, 2024

@osyed IMO the stellar-wallet is not the appropriate service to integrate the expanded transaction data into... rather, I believe it should be its own service that is public and available to anyone without authentication.

To that aim, I have a proof-of-concept ledger indexing system built that indexes ledgers as they close into an elastic search server. My plan is to polish that up and ship a RESTful service alongside the indexer that lets people slice/dice/filter transactions easily. In the future, we can add further materializations built upon the raw data that will allow simpler integrations.

Thoughts?

from stellar-protocol.

osyed avatar osyed commented on July 20, 2024

@nullstyle that sounds awesome. I agree the stellar-wallet server is probably not the best place to add the meta service. Having a separate server for this sounds like a good idea.

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 20, 2024

this is done now

from stellar-protocol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.