Comments (3)
from btcs.
Seems to be two issues:
sn_serialize
does not serialize the number zero. Easy fix.- OP_0 is represented on the stack as an empty item, (not the number 0). According to the documentation that is OK. Empty stack items are shown as
0x
instack
output which seems like an accident; not shown instack_hex
at all. Perhaps an empty array could be displayed as[]
in both cases?
Documentation: https://en.bitcoin.it/wiki/Script
OP_0, OP_FALSE An empty array of bytes is pushed onto the stack. (This is not a no-op: an item is added to the stack.)
from btcs.
from btcs.
Related Issues (20)
- Address generation
- Simplify test suite
- Optimizations brainstorming HOT 1
- Finish OP_ROLL
- Implement prototype Simplicity interpreter HOT 2
- Implement disabled opcodes
- Parse extra cli arguments as tokens
- JSON output mode
- Load script from file
- Implement MERKLEBRANCHVERIFY
- Implement DETERMINISTICRANDOM
- Implement CHECKSIGFROMSTACK
- Binary literals
- segwit stuff
- taproot/tapscript
- miniscript support
- Decoder HOT 2
- manpage HOT 1
- 4 byte negative numbers not working
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 btcs.