Comments (5)
Is there a hypotheses when an account can become payable ? 🤔
from aeternity.
@dincho An address/account is by default payable (i.e. any account that isn't in the state tree (yet) is considered payable). When a contract is created, the associated account is set to either payable or not payable depending on the contract (default is not payable). After the contract creation there is no way to change the payable status.
@davidyuk in this case the cost for checking is small enough that I think we can add it as the default - doing HTTP is as you suggest worse 😅 - though the client could cache this...
Let's add it to the mempool-checks!
from aeternity.
Keyword here is we can, I guess. I don't think we lookup the recipient account when checking a SpendTx, so it would be an additional cost, if the recipient is a name it would be even more costly.
Maybe some of the tools along the way could warn that spending to this account is perhaps not a great idea 😅
from aeternity.
Isn't it costly to keep such transaction in mempool?
Maybe some of the tools along the way could warn that spending to this account is perhaps not a great idea
Checking this on sdk side also would be an additional cost. Even more expensive because of extra http requests.
from aeternity.
After the contract creation there is no way to change the payable status.
That was my mine question, and by account, I meant contract account/address.
from aeternity.
Related Issues (20)
- Allow of range of ports to be specified for use by SC FSMs HOT 2
- Inconsistent naming in api: `transactions/pending` vs `mempool` HOT 1
- Consider adding dry-run via GET HOT 7
- Reject claiming of revoked name immediately HOT 7
- Typo in `fiat_converstion_url` parameter HOT 1
- BRI can be overridden by config for mainnet and testnet
- Broken metrics HOT 1
- Unclear error message when peer-key directory is not writeable
- Can't override network id using env variable HOT 2
- Restart command cause a crash (sometimes)
- Beacon v1.0: Further improve finality
- Prepare tests for new protocol name
- Prepare FATE VM to become a node dependency
- Add Prometheus metrics endpoint/protocol support
- Export all our current metrics to Prometheus exporter
- Implement a safe/"paranoid" DB-mode
- Expose blockchain events through websockets.
- Node rejects name update tx version 2 with `signature_check_failed` if it doesn't contain raw pointers
- Send an HTTP response to PostTransaction when tx mined or gets N confirmations HOT 1
- Allow to set `genesis_accounts` in ae instead of aettos
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 aeternity.