Comments (5)
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.
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.
@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.
@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.
this is done now
from stellar-protocol.
Related Issues (20)
- CAP-0052 - provide a way to retrieve the return value of an on-chain contract call HOT 3
- SEP-9: add proof_of_liveness field HOT 1
- Transfer SEPs: add optional `refund_account` attribute to transaction initiation requests HOT 2
- SEPs (6, 12, 24, 31): Update callback header from `X-Stellar-Signature` to `Signature` HOT 4
- SEP-9: define a generalized account identifier format HOT 4
- SEP-9: add `bank_account_type` field HOT 2
- SEP-6: /deposit and /withdraw IDs should map to list of transactions rather than a single transaction HOT 22
- SEP-24: make `account` for deposit request optional to match withdraw request
- Add SEP for Soroban token interface HOT 1
- Nice
- SEP-7: thoughts on using "web+stellar://" instead of "web+stellar:"? HOT 1
- SEP-6: standardize structured off-chain deposit instructions for users HOT 1
- SEP-6: Providing deposit instructions asynchronously
- security HOT 1
- SEP-24: Layered fee structure HOT 1
- SEP-24: Configure fees by payment method HOT 1
- SEP-9: support `organization.referrer`
- Add deviation parameter instead of pure uniform periods HOT 8
- Support for `memo` field in SEP-9 Financial Account Fields
- Prettier SEP CI workflow failing suddenly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stellar-protocol.