GithubHelp home page GithubHelp logo

Comments (7)

instagibbs avatar instagibbs commented on June 22, 2024

For the first issue the newest version of elements should have this fixed. #79 (mismatch between libsecp version and this tool)

https://github.com/Blockstream/contracthashtool/pull/8/files?diff=split

It was merged 5 days ago.

re:connections, what does getpeerinfo tell you?

from elements.

AccentureTechLabs avatar AccentureTechLabs commented on June 22, 2024

Hi instagibbs,

I have pulled the latest contracthastool to the newest version, but the error still remained. I've tried both libsecp from ElementsProject and from the the libsecp github site. Do I need to do send to sidechain another btc to claim it? I kept the alphatestnet3 the same, did not remove the wallet.dat in it.

Here is the info when I typed alpha-cli getpeerinfo

[ { "id" : 1, "addr" : "162.243.132.6:4242", "addrlocal" : "170.252.244.1:62213", "services" : "0000000000000001", "lastsend" : 1455547061, "lastrecv" : 1455547064, "bytessent" : 1925, "bytesrecv" : 2291, "conntime" : 1455547060, "pingtime" : 0.44494400, "version" : 70002, "subver" : "/ElementsAlpha:0.10.2/", "inbound" : false, "startingheight" : 128650, "banscore" : 0, "synced_headers" : 128650, "synced_blocks" : 128650, "inflight" : [ ], "whitelisted" : false }, { "id" : 2, "addr" : "104.236.132.224:4242", "addrlocal" : "170.252.244.1:57671", "services" : "0000000000000001", "lastsend" : 1455547063, "lastrecv" : 1455547064, "bytessent" : 1925, "bytesrecv" : 2711, "conntime" : 1455547063, "pingtime" : 0.45263300, "version" : 70002, "subver" : "/ElementsAlpha:0.10.2/", "inbound" : false, "startingheight" : 128650, "banscore" : 0, "synced_headers" : 128650, "synced_blocks" : 128650, "inflight" : [ ], "whitelisted" : false } ]

from elements.

instagibbs avatar instagibbs commented on June 22, 2024

It actually looks like an error is occurring inside alphad itself during the sendrawtransaction call.

from elements.

TomMcCabe avatar TomMcCabe commented on June 22, 2024

I'm also getting the same error when trying to claim-on-sidechain. I'm trying to build a different sidechain and create the documentation for other users as the current instructions are not clear. I've changed the port numbers in constants.py and chainparamsbase.cpp (essentially just replacing 4241 with 4242). I've rebuilt both alphad and bitcoind after editing cpp files. If I run getpeerinfo I also return the same result with my local ip in addrlocal. It fails at the txid = sidechain.sendrawtransaction(res_tx) line, but I think it is because there's a communication error with the ports.

from elements.

instagibbs avatar instagibbs commented on June 22, 2024

Ok we've found the issue:
https://github.com/ElementsProject/elements/blob/alpha/src/script/interpreter.cpp#L1469

Same issue but in alpha instead post-libsecp update. Fix incoming.

from elements.

instagibbs avatar instagibbs commented on June 22, 2024

Try this: #84

from elements.

AccentureTechLabs avatar AccentureTechLabs commented on June 22, 2024

@instagibbs
It works now with the claim-on-sidechain call.
I will try with other calls and let you know.
Huge thanks!

from elements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.