Comments (3)
I think setting the block number makes sense, but is there any real use case in terms of transaction or note scripts related to timestamps?
Having the timestamp available inside the kernel would be useful, but it isn't absolutely necessary. You could create some "timelock" account and compute the time until unlock by knowing the Miden blocktime * number_of_blocks.
Setting the block number in the TransactionContextBuilder would be useful.
from miden-base.
cc @igamigo
from miden-base.
I think setting the block number makes sense, but is there any real use case in terms of transaction or note scripts related to timestamps?
from miden-base.
Related Issues (20)
- Update names used for input/output notes HOT 4
- Refactor batch/block note tree structure
- Refactor `NoteOrigin` / `NoteInclusionProof` structs HOT 3
- Fix the stack management for account procedures HOT 7
- Refactor delta's vault and storage to use maps HOT 2
- feat: add a procedure for basic wallets that creates notes with 0 or more assets HOT 1
- Refactor account storage to use sequential hash rather than a Merkle tree
- Make `miden_lib::notes::build_swap_tag()` public HOT 1
- Creation of privacy optimized P2ID note HOT 6
- Remove `send_asset` procedure from the basic wallet. HOT 6
- Improve the doc to add a detailed explanation of how to create public notes
- Implement `estimate_size` for individual deltas
- Implement ability to determine if a note/tx script cannot be executed against a given account
- Remove duplicate procedures from `miden-lib`
- Foreign procedure invocation
- Rename account storage type HOT 1
- Rename `AccountStub` into `AccountHeader` HOT 1
- Rework tests to prevent root context calls and remove kernel workarounds
- Change kernel procedures from `export` to `proc`
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 miden-base.