nazbrok
nazbrok
Hère is the log. BusyBox v1.16.1 (2013-04-16 20:15:54 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. NAS> cd /usr/local/htpcmanager/var/ NAS> cat htpcmanager.log 2014-01-15 00:39:03 :: modules.xbmc...
ok so how do you handle partial sign with Solnet ? _**I am not sure what is the good way to do it with Solnet.**_ So far I tried those...
My mistake, they updated their Json structure and added a second entry for the signed tx. Gonna do further test to see if all is ok.
So here is the actual Json : ``` {"tx": {"type":"Buffer","data":[2,1,9,21,138,180,156,252,109,252,108,26,186,0,196,69,57,102,15,151,149,242,119,181,171,113,120,224,0,118,155,61,246,56,178,47,5,127,54,85,153,40,206,27,171,173,182,91,139,93,158,49,186,39,248,83,155,236,96,44,203,26,220,42,251,159,70,112,183,85,45,211,31,117,170,249,115,142,150,7,154,72,234,129,11,230,240,210,134,238,214,97,253,27,211,30,75,60,118,127,218,176,102,253,138,71,38,27,7,235,46,158,242,104,170,249,49,171,231,130,73,47,250,5,136,65,180,48,162,196,127,192,178,248,17,88,10,67,202,209,218,64,160,122,201,124,188,183,138,1,80,124,103,191,46,109,19,251,220,6,232,127,202,86,104,121,236,161,163,145,22,104,251,214,195,167,40,144,165,137,125,103,252,82,238,244,187,231,34,135,239,204,177,236,32,22,219,249,47,88,27,43,106,93,53,216,83,236,153,109,229,251,36,9,200,49,145,15,129,77,34,112,114,173,36,62,236,110,12,158,58,228,224,183,152,74,250,18,157,96,7,160,158,224,142,150,46,161,202,218,73,218,230,18,50,147,194,191,195,125,8,175,246,228,16,89,36,102,175,155,72,107,229,118,121,242,246,139,65,205,220,49,224,32,146,119,74,143,99,98,237,19,13,132,117,14,245,6,153,169,85,40,27,100,21,174,68,187,108,212,30,222,128,217,201,249,45,138,186,94,166,187,10,235,41,205,82,109,253,176,130,42,238,206,165,200,24,50,188,208,215,135,5,248,131,82,116,201,31,159,53,80,184,225,198,95,236,2,240,147,220,248,179,32,243,104,68,185,1,15,88,227,79,223,130,47,250,151,111,36,193,141,55,202,21,126,183,103,195,27,24,204,62,20,138,10,82,147,129,137,32,237,250,237,171,57,30,73,51,108,11,116,219,102,157,16,71,3,66,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,93,243,113,106,118,124,29,94,205,38,194,235,5,148,37,179,98,119,9,113,206,219,131,76,219,44,227,175,199,22,189,116,235,174,247,254,13,195,90,171,13,244,110,2,65,58,174,203,197,197,222,179,199,159,186,249,24,233,203,208,43,166,206,6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169,6,167,213,23,25,44,92,81,33,140,201,76,61,74,241,127,88,218,238,8,155,161,253,68,227,219,217,138,0,0,0,0,140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89,0,11,227,225,235,161,122,71,63,137,176,247,232,226,73,64,242,10,235,142,188,167,26,136,253,233,93,75,131,183,26,9,5,33,159,137,154,129,212,255,132,251,89,61,46,223,138,144,172,27,58,179,66,88,247,223,35,62,165,3,2,177,189,46,25,81,161,120,205,221,148,12,81,228,109,193,138,66,240,124,244,131,160,152,232,136,137,76,110,42,15,170,244,59,99,147,3,20,6,0,1,2,8,12,13,17,242,35,198,137,82,225,242,182,255,0,0,0,0,0,0,0,0,20,12,0,1,14,15,2,8,12,3,8,16,13,17,34,102,6,61,18,1,218,235,234,252,255,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,22,0,4,1,5,14,15,2,6,8,12,7,3,8,9,8,16,13,18,19,17,10,11,42,37,74,217,157,79,49,35,6,255,250,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255]}, "txSigned": {"type":"Buffer","data":[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,101,129,74,17,32,0,255,158,115,99,39,240,246,70,239,176,137,61,191,181,74,239,161,238,51,192,66,152,252,175,211,133,206,87,198,87,97,225,124,109,26,59,186,58,122,100,158,92,25,182,142,77,70,189,254,192,177,4,189,44,40,44,20,15,2,1,9,21,138,180,156,252,109,252,108,26,186,0,196,69,57,102,15,151,149,242,119,181,171,113,120,224,0,118,155,61,246,56,178,47,5,127,54,85,153,40,206,27,171,173,182,91,139,93,158,49,186,39,248,83,155,236,96,44,203,26,220,42,251,159,70,112,183,85,45,211,31,117,170,249,115,142,150,7,154,72,234,129,11,230,240,210,134,238,214,97,253,27,211,30,75,60,118,127,8,175,246,228,16,89,36,102,175,155,72,107,229,118,121,242,246,139,65,205,220,49,224,32,146,119,74,143,99,98,237,19,218,176,102,253,138,71,38,27,7,235,46,158,242,104,170,249,49,171,231,130,73,47,250,5,136,65,180,48,162,196,127,192,178,248,17,88,10,67,202,209,218,64,160,122,201,124,188,183,138,1,80,124,103,191,46,109,19,251,220,6,232,127,202,86,104,121,236,161,163,145,22,104,251,214,195,167,40,144,165,137,125,103,252,82,238,244,187,231,34,135,239,204,177,236,32,22,219,249,47,88,27,43,106,93,53,216,83,236,153,109,229,251,36,9,200,49,145,15,129,77,34,112,114,173,36,62,236,110,12,158,58,228,224,183,152,74,250,18,157,96,7,160,158,224,142,150,46,161,202,218,73,218,230,18,50,147,194,191,195,125,13,132,117,14,245,6,153,169,85,40,27,100,21,174,68,187,108,212,30,222,128,217,201,249,45,138,186,94,166,187,10,235,41,205,82,109,253,176,130,42,238,206,165,200,24,50,188,208,215,135,5,248,131,82,116,201,31,159,53,80,184,225,198,95,236,2,240,147,220,248,179,32,243,104,68,185,1,15,88,227,79,223,130,47,250,151,111,36,193,141,55,202,21,126,183,103,195,27,24,204,62,20,138,10,82,147,129,137,32,237,250,237,171,57,30,73,51,108,11,116,219,102,157,16,71,3,66,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,93,243,113,106,118,124,29,94,205,38,194,235,5,148,37,179,98,119,9,113,206,219,131,76,219,44,227,175,199,22,189,116,235,174,247,254,13,195,90,171,13,244,110,2,65,58,174,203,197,197,222,179,199,159,186,249,24,233,203,208,43,166,206,6,221,246,225,215,101,161,147,217,203,225,70,206,235,121,172,28,180,133,237,95,91,55,145,58,140,245,133,126,255,0,169,6,167,213,23,25,44,92,81,33,140,201,76,61,74,241,127,88,218,238,8,155,161,253,68,227,219,217,138,0,0,0,0,140,151,37,143,78,36,137,241,187,61,16,41,20,142,13,131,11,90,19,153,218,255,16,132,4,142,123,216,219,233,248,89,0,11,227,225,235,161,122,71,63,137,176,247,232,226,73,64,242,10,235,142,188,167,26,136,253,233,93,75,131,183,26,9,5,33,159,137,154,129,212,255,132,251,89,61,46,223,138,144,172,27,58,179,66,88,247,223,35,62,165,3,2,177,189,46,25,81,161,120,205,221,148,12,81,228,109,193,138,66,240,124,244,131,160,152,232,136,137,76,110,42,15,170,244,59,99,147,3,20,6,0,1,2,3,12,13,17,242,35,198,137,82,225,242,182,255,0,0,0,0,0,0,0,0,20,12,0,1,14,15,2,3,12,4,3,16,13,17,34,102,6,61,18,1,218,235,234,252,255,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,22,0,5,1,6,14,15,2,7,3,12,8,4,3,9,3,16,13,18,19,17,10,11,42,37,74,217,157,79,49,35,6,255,250,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255]}} ``` The txSigned contains the partial signature in position 2. using this code : ``` var walletMnemonic =...
Let me know if I am doing something wrong or want me to do more tests.
I still can't get it working. in both case (below), I get `"Transaction signature verification failure"` ``` var txUnsigned = Transaction.Populate(Message.Deserialize(data.Tx)); var txSigned = Transaction.Deserialize(data.TxSigned); txSigned.Signatures[0] = new SignaturePubKeyPair() //...
This trick did it. Many thanks
> [eac7430](https://github.com/bmresearch/Solnet/commit/eac74306442d8585646c90cb17bf7b2b57f4a529) > > Added support for versioned transactions. I believe compile message needs a update to write versioned transaction from the client not totally sure so this only covers...
Well looks like this PR only fix the call to getTransaction and getBlock and is finally not enough for the reading portion The transaction format changed so Solnet currently fail...
thanks, your implementation is better. I quickly looked at the typescript implementation, I will try to give a try if I get the time.