ipld / go-ipld-btc Goto Github PK
View Code? Open in Web Editor NEWipld handlers for bitcoin
License: MIT License
ipld handlers for bitcoin
License: MIT License
Should this be moved to the IPLD organization? See ipld/ipld#15.
This should probably be moved to the IPLD org.
We’re trying to track down any downstream users of this codec as we’ve uncovered some issues in how this codec handles segwit that will end in breaking changes. Please let us know if you’re using this codec or know a project that is so that we can provide them due notice.
I'm currently working on https://github.com/ipld/js-ipld-bitcoin. I use go-ipld-btc as a reference and hence port the tests. My knowledge about Bitcoin is really limited, so I've a few questions.
The testdata of TestBip143TxsNativeP2WPKH doesn't decode for me. I tried 2 different JS implementations, both error with an out of bounds error (one at offset=245) when they decode the transactions. Is there anything special about it?
In test TestBip143TxsNativeP2WSH the JS libs don't return any transactions. Any idea why?
go vet
says:
./tx.go:248:16: method WriteTo(w io.Writer) error should have signature WriteTo(io.Writer) (int64, error)
./tx.go:266:17: method WriteTo(w io.Writer) error should have signature WriteTo(io.Writer) (int64, error)
Unfortunately, this concerns TxIn
and TxOut
, which are both exported interfaces. We're therefore talking about an API change. Any thoughts, @rvagg and @mvdan?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.