Questions tagged [raw-transaction]

This tag should be used for questions related to raw transactions, bitcoin transactions that have been serialized for network transmission.

37 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
186 views

ZMQ Raw TX doesn't include all transactions

I'm running a Bitcore.io node and using their ZMQ hook but I've noticed that on livenet not all transactions are actually being sent. I've been comparing it to https://blockchain.info/unconfirmed-...
3
votes
1answer
938 views

Building Signed Bitcoin Transaction in Java

I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
3
votes
1answer
2k views

Reading Bitcoin Raw Transaction

I want to understand Bitcoin data structure. So i try to understand a raw transaction in json format. When i checked the blockchain.info API documentation, i see that input structure is defined for ...
2
votes
0answers
384 views

Bitcoin raw transaction hash signing

I was just wondering when you're at the double hashing part of making a transaction do you need to specify the scriptpubsig like: 01000000 01 ...
2
votes
1answer
529 views

How to sign a transaction using BitcoinJ

I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction. Is there a ...
2
votes
0answers
559 views

on testnet: 'transaction already in blockchain'.. but it isn't

At least I don't think so! I'm trying to create a wallet infrastructure to minimise fees, and so I've been experimenting with raw transactions. I'm quite clueless but fortunately have enough sense to ...
1
vote
0answers
41 views

Error mandatory-script-verify-flag-failed (Signature is found in scriptCode)

I found a few questions with the specific error, but couldn't find also the appropriate answer. So, here I am. I am working on regtest in a Python library that create transactions and then use JSON-...
1
vote
0answers
113 views

How to sign bitcoin raw transactions with Python offline

I have a raw bitcoin transaction created using createrawtransaction unsigned_tx = "...
1
vote
1answer
60 views

Open source, how can I view “Transaction Create a new transaction” and “Sign Transaction”?

Not long ago I saw on the site github.com the very first Nakamoto code: https://github.com/livegnik/BitCoin-v0.01-ALPHA Running bitcoin.exe, I did not find the console. If the program is open source,...
1
vote
0answers
183 views

Multisig signrawtransaction fails

I have 3 private keys (a,b,c) which belong to an address (2 of 3) from which I want to spend funds using RPC commands. I´ve started with generating the redeemScript using createmultisig() and the pub ...
1
vote
0answers
119 views

Creating a raw transaction, Please help

I want to create a raw transaction with python and i found the script Makes a transaction from the inputsoutputs is a list of [redemptionSatoshis, outputScript] def makeRawTransaction(...
1
vote
0answers
74 views

How can I use raw litecoin protocol to connect to nodes?

I am trying to connect to litecoin nodes using raw protocol. I follow Ken Shirriff instructions from this article . My code works perfect with bitcoin, so I just replaced bitcoin nodes connection ...
1
vote
1answer
452 views

NBitcoin: Get address out of raw block stream

OK, I am sure that this is a really dumb, rookie question, so sorry in advance... I am trying to read through the blockchain and display the receiving address(es) for all transactions in the chain. (...
1
vote
1answer
303 views

What is a “serialized signed transaction”?

Shown in the gray area here, describing how to apply, I think, Segwit to a transaction (particularly a Bitcoin Cash tx). The last section is titled "serialized signed transaction" however it doesn't ...
1
vote
0answers
207 views

transacton fees for raw transactions

I'm building a merchant system for a client that will accept payments in bitcoin and send all coins to a cold storage wallet once a week (or month). The system is using a deterministic wallet to ...
1
vote
0answers
51 views

What is the expected rate of transactions per second that I should expect from Bitcoin's ZMQ service?

I'm currently subscribed to the hashtx topic for Bitcoin's ZMQ service. I am noticing that I used to get an average of 3 transactions/second, but lately, I've been getting an average of 0.1 ...
1
vote
0answers
22 views

How can I tell what the latest version is which can conduct a transaction?

In my planned setup I have two machines: a connected machine (HOT) and a non-connected machine (COLD). My plan, in the event that I need to send bitcoins, is that I will: formulate desired ...
1
vote
0answers
229 views

wireshark packet analysis missing checksum in version msg

I'm trying to send a raw bitcoin transaction through a raw socket connection in python. To debug I'm using wireshark to sniff the packets. Wireshark figures out that the packet is for Bitcoin and ...
1
vote
0answers
1k views
1
vote
0answers
3k views

C# - JSON-RPC - How to build the json object before serialization (createrawtransaction)

I am trying to build a C# application working on JSON-RPC with Bitcoin-qt (server mode). I am using Bitsharp, though I don't think this should matter at all. First off the InvokeMethod: ...
1
vote
2answers
214 views

Is the any workable testnet3 Bitcoin solution for creating, signing, broadcast a normal transaction using Golang?

Currently I'm trying to create, sign & broadcast bitcoin transaction using btcsuite. For start, I've already had testnet3 address & its associated privatekey for testing. However, hunting ...
1
vote
2answers
197 views

What are the unnamed parts of the segwit/bitcoin cash raw tx shown and how do I get them as shown?

There are three parts to this. Shown here. Part 1. This string is found at the final form of the raw tx: ...
0
votes
0answers
29 views

Bitcoin multisignature addresses

Suppose we have a multisignature address "abc" with 100 coins in bitcoin regtest network, I want to that 100 coins in 10 slots that is i want spend 10 coins at a particular interval. I tried the ...
0
votes
0answers
28 views

Bitcoin Transaction Generation: Signature Verification Error

I have the following raw transaction (basic P2PKH) which I am trying to send to the Bitcoin Testnet 3: ...
0
votes
0answers
50 views

HTLC in blockchain regtest mode by creating transactions manually

I am trying to create a htlc smart contract manually by writing a script and finding the hex using the btcc compiler. Now node A has to create a transaction using that hex and lock money in that p2sh ...
0
votes
1answer
28 views

How to code bitcoin transaction for shopping cart

I have written website shopping cart software using MySQL and PHP and I need to add a way for users to pay with Bitcoin. This seems like a basic need for developers in general, but I'm having ...
0
votes
1answer
95 views

How to properly use the rpc command `listunspent` with `bitcore-lib` to create a transaction and get the transaction hash?

I am trying to use the rpc command listunspent to get all the UTXOs relevant to an address, and then I am trying to pass it to a transaction, using bitcore-lib. Below is my code: const Client = ...
0
votes
1answer
30 views

Can I receive detailed tx data via command line using only a lightclient?

I recently tried to sync the Bitcoin blockchain, but my laptop does not have enough space on it. I want to be able to analyze UTXOs and raw transaction data. Will a lightclient allow me to do this?
0
votes
1answer
164 views

How to retrieve transactions in realtime from bitcoind .dat files

I want to get all the data from blocks as they get updated on my local node. Abe offers very poor performance, and fast-dat-parser creates other .dat files and doesn't have enough documentation for me ...
0
votes
1answer
250 views

Manage multiple users wallets for web wallet service

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried ...
0
votes
2answers
103 views

Is there any python library could be used to decodescript in output

For example decode the ScriptPubKey like 4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac to some data like ...
0
votes
1answer
110 views

Bitcoin Pay-to-PubKeyHash (P2PKH) in multi-sig addresses

Can we send Pay-to-PubKeyHash (P2PKH) to an address which starts from 3 . I tried to send raw transaction to one of my coinbase address which starts from 3 but it send to completely different address ...
0
votes
1answer
106 views

ScriptSig raw hex to sign raw tx

i have a p2sh address that is created using an uncompressed public key (from my ledger nano) and a compressed public key (bitcoincore wallet). It requires both signatures to send the funds. When i use ...
0
votes
1answer
263 views

Litecoin - mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)

I have manually a raw transaction using bit library in order to send a transaction using Litecoin testnet. After adjusting fee's and other network variables I got the following error that is stated in ...
0
votes
0answers
206 views

decoded raw transaction size & vsize mean?

I have decoded my raw transaction using decoderawtransaction, I got these value "size" => 259 "vsize" => 259 is that block size ? if it does, is that byte or killo byte ? I want to calculate ...
0
votes
0answers
226 views

Unable to broadcast native P2WPKH (SegWit) TX; malformed, but how?

I'm trying to add SegWit functionality to my app but am running into trouble building my transaction. I've read BIP143 so many times I virtually have it memorized, and I've followed it to the letter. ...
-2
votes
1answer
404 views

How can I set the fee rate for raw transactions on Bitcore?

I'm building a raw transaction. How do I set the relay fee in the Bitcore console wallet? I'm trying to send a transaction with 2 signatures. I created the transaction and signed the transaction with ...