Questions tagged [raw]

22 questions
84
votes
3 answers

How to redeem a basic Tx?

Given a raw, standard Tx…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
8
votes
2 answers

Why is the Block Header txn_count field always zero?

According to the Protocol Specification, the txn_count field of a Block Header is always set to 0, why is that? What are the intended future uses of this field?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
5
votes
1 answer

How can I view the Blockchain locally on my machine?

I'd like to view the blockchain on my Windows 7 machine. Right now I'm looking under roaming/Bitcoin/blocks, and trying to open blk00000.dat . I can't read any of it though, it seems the text is garbled. How can I change the format/open it in a…
liams1
  • 61
  • 1
  • 3
4
votes
1 answer

How to create raw transaction

I've started creating my own wallet in bitcoinj and I have serious problem. I want to create raw transaction without wallet object. So I wrote this piece of code: //String to a private key DumpedPrivateKey dumpedPrivateKey =…
Dragomirus
  • 261
  • 2
  • 6
4
votes
2 answers

Why is my raw transaction non-canonical, getting error -25, and being rejected?

I'm trying to port TX generation logic to a different (and unpopular) language. I've been beating my head against this way too long and should have walked away but, well, you know, closure, and stubbornness. Here's my code so far. Blockchain.info,…
scrottie
  • 51
  • 4
3
votes
3 answers

Signing a bitcoin transaction OFFLINE fails

I know this subject has been discussed quite a lot, but after several days looking for this to work, I give up. I want to create a transaction on a view-only wallet which is connected to the internet and synced, then sign this transaction on a…
3
votes
2 answers

C# BC, successfully creating and signing raw transaction

First time on stackexchange to ask for help, sorry if i make mistakes (english is not my native language). I try to create a valid raw transaction on C# with bouncycastle and i seems stuck, not able to find where is my mistake. I test on the testnet…
3
votes
1 answer

Can the same target address appear more than once on transaction output?

Normally, a transaction output will contain a list of address + amount. Each element in this list has an associate output number, "vout". For example: Transaction outputs: vout=0: addr=m111111, amount=100 vout=1: addr=m222222, amount=200 My…
Jon Smark
  • 195
  • 3
2
votes
2 answers
2
votes
2 answers

Difference between createmultisig and addmultisigaddress?

What is the functional difference between createmultisig and addmultisigaddress in bitcoincore (v 0.10)? To be clear, I understand how both function. ie. multisigCmd n ["address1 public key as hex", "address in Base58 format", "more JSON…
Wizard Of Ozzie
  • 5,268
  • 4
  • 30
  • 63
1
vote
1 answer

Two transactions are signed by different private keys, and the value of "R" for these two transactions is the same?

Everyone knows an error in the Blockchain when the same value of "R" can be calculated and find out the private key of the transaction: ECDSA Signature and the "z" value But I have a question. Can I find two private keys with the same value of…
1
vote
1 answer

Using CoreBitcoin in Swift to create raw transaction

I am new to coding, and only know swift, obj-C is still foreign to me. I have a functioning wallet but for now am relying on BlockCypher API to build a transaction which I do NOT want to do. Can anyone please help tell me what I am doing wrong in…
Fontaine
  • 466
  • 2
  • 10
0
votes
1 answer

Create Raw Transaction in BitcoinJ offline starting from UTXO info

I would to create offline Raw Transaction (without signing it) in BitcoinJ. The information I know about the inout is UTXO's hash, index, amount, address, and script. I also know the receiver address of the final transaction, the change address, the…
Andrean
  • 103
  • 2
0
votes
1 answer

Untypical input script

There are many untypical Input script data in blockchain. What does it mean? For example, transaction: 4A253F17E5F4B24B41F72A6AE46DD1BCB25F7F33769C2AA5D50C6A6A7CF9F76E (link) has it's input…
Denis Leonov
  • 915
  • 12
  • 26
1
2