Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad-txns-vin-empty on segwit tx #924

Open
ghost opened this issue Apr 26, 2018 · 7 comments
Open

bad-txns-vin-empty on segwit tx #924

ghost opened this issue Apr 26, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2018

I can take an encoding like below and have it decoded and transmitted on other sites such as https://testnet.blockchain.info/pushtx

But on blockexplorer.com (which uses insight) and https://test-insight.bitpay.com/tx/send, I get this error:

An error occured:
16: bad-txns-vin-empty. Code:-26

Encoded TX Hex:

010000000001015893c7eed9c723ba4bc50c1726c3e0b5aef3a6cd787a247916138347fe82344900000000171600149eaf55b34115e90bf4f9c4da69ab89e288dfea6effffffff02e0e7de030000000017a914ddad7d22cf51d12476cb4887d966d112377e57ba870000000000000000226a20c65c6184e3d5a945ddb5437e93ea312411fd33aa1def22b0746d6ecd4aa30f200247304402202f245b4b429920456864becbc6ce7786ac51cf38b455840219c0c80aba91296d02201bdc3996a2720a0122089ceb3d23cf90b78b5a44fd3080f6f0818f585368756c01210266bb8bbbfca4b02eb66577d4033e8af11f287b8d33c3de9b24bc8faabd37b20d00000000

Note that I've already transmitted this transaction, after it wouldn't work on insight, with blockchain.info

@bendelo
Copy link

bendelo commented Jun 1, 2018

I have the same issue trying to broadcast SegWit

@rmn-boiko
Copy link

rmn-boiko commented Jun 5, 2018

Any luck? Have the same issue? Will it be improve to support segwit inputs?

@lacksfish
Copy link

I am also currently facing this issue when trying to publishing a transaction with a segwit input (and a normal p2sh input).

@afk11
Copy link

afk11 commented Jun 11, 2018

The bitcore node seems to only support v0.12, which is why it doesn't recognize the segwit version bits being locked in.

@Soyoudie Trezor dropped insight as it's API recently.. No point relying on bitpay any more. Their OSS software has been struggling since 2016.

@festus1973
Copy link

@afk11 Hey there, I'm basically abandoning Insight due to lack of SegWit support but before recoding for another API, just wanted to check in with you and make there wasn't come SegWit/Bech32 capability right around the corner (e.g. within next couple weeks or so).

Kind of a shame. It was a nice API but they just sort of let it drift into obsolescence for some reason. Similar downward path for BlockCypher. BlockChair seems solid, also looking at chain.so and btc.com. Any others you'd recommend ?

@lacksfish
Copy link

lacksfish commented Jan 14, 2019

Depending on which type of data you need, you might find what you are looking for in electrum nodes?

https://electrumx.readthedocs.io/en/latest/protocol-methods.html

You could do something like this project to interface with the electrum nodes via TLS sockets to get data from them. There are very little alternatives for some of the functionality provided by electrum.

@matiu
Copy link
Collaborator

matiu commented Jan 14, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants