Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: luciheylel on April 08, 2016, 10:39:09 PM



Title: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 08, 2016, 10:39:09 PM
Please forgive for my English.

The seller did not accept the buying and the market gave me the private key of a multisig transaction.

I follow step by step this tutorial: https://www.reddit.com/r/AlphaBayMarket/comments/3tr63d/a_full_multisignature_tutorial_for_alphabay/

But in the last step, when I put the Raw Transaction, I get the following error: 64: non-mandatory-script-verify-flag (No error)

Someone help me please.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 08, 2016, 11:57:51 PM
First of all, entering your private key in a website is a bad idea (ms-brainwallet) and a market that recommends doing so is suspicious to say the least.

Secondly, the error message you get is usually associated with non standard signatures. Bitcoin core wants low S signatures. If you don't know what it means, you should not use raw transactions.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 12:04:45 AM
It was my first transaction multisig.
then I lost my $ 400?


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: cr1776 on April 09, 2016, 12:42:52 AM
It was my first transaction multisig.
then I lost my $ 400?

You should move this into the AlphaBayMarket section.

As far as whether you lost your $400, it is hard to say without more information.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 01:03:39 AM
this friend helped with the same problem as me.

https://bitcointalk.org/index.php?topic=1023590.0


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 09, 2016, 02:41:36 AM
Problem solved?


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 03:31:53 AM
Problem solved?

no  :-\


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 09, 2016, 04:03:57 AM
Easiest way is to keep doing what you did. Every attempt has roughly a 50% chance of success as long as you re-sign


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 04:12:33 AM
ok, I'll do it

thanks.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 05:53:37 AM
unsuccessfully
tomorrow try another hour.
thanks.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 09, 2016, 06:31:51 AM
If your transaction doesn't change when you re-sign, you will have modify it the hard way


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 06:45:19 AM
the transaction changes when I click re-sign
but when I finished, continues the following error:

https://postimg.org/image/ig0ctpvr3/


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 09, 2016, 07:12:03 AM
Use the verify tab and post here what you get.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 07:23:12 AM
Use the verify tab and post here what you get.

https://s15.postimg.org/chluqduzv/Capturar.png


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: hhanh00 on April 09, 2016, 09:02:55 AM
With 7 inputs, there is less than a chance in  a  100 that it works by luck. You could try out with  a wallet that supports multi sig like electrum.


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: amaclin on April 09, 2016, 09:41:06 PM
Quick and dirty solution

Code:
const QByteArray Transaction::normalize ( ) const
{
  MyByteArray data;
  data.putVersion ( ).putVarInt ( countInputs ( ) );
  for ( int j ( 0 ); j < countInputs ( ); j++ )
  {
    const TxInput in ( getInput ( j ) );
    const QByteArray& script ( in.getScript ( ) );
    data.putArray ( in.get36signature ( ) )
        .putPrefixed ( xnormalize ( script ) )
        .putInt32 ( in.getSequence ( ) );
  }
  data.putVarInt ( countOutputs ( ) );
  for ( int j ( 0 ); j < countOutputs ( ); j++ )
  {
    const TxOutput out ( getOutput ( j ) );
    data.putInt64 ( out.getAmount ( ) )
        .putPrefixed ( out.getScript ( ) );
  }
  data.putInt32 ( TX_LOCK );
  return data;
}


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: amaclin on April 09, 2016, 09:41:25 PM
Wow! It works!  ;D


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 09, 2016, 10:22:31 PM
Wow! It works!  ;D


thaaaanks amaclin!  :D

you saved me! love you s2


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: amaclin on April 09, 2016, 10:40:01 PM
You have to know that I am the person who is responsible for this your problem :)
If I can malle transactions, I should be able to 'normalize' them to correct state


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: luciheylel on April 11, 2016, 05:42:41 AM
You have to know that I am the person who is responsible for this your problem :)
If I can malle transactions, I should be able to 'normalize' them to correct state

what did you do for work?


Title: Re: Help: Unserendipitous Multisig Transaction
Post by: amaclin on April 11, 2016, 05:58:36 AM
what did you do for work?
What am I? I am android programmer in small IT-company.