Comments (7)
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.
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.
It actually looks like an error is occurring inside alphad itself during the sendrawtransaction call.
from elements.
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.
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.
Try this: #84
from elements.
@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)
- Increase block size HOT 4
- Can sendmany be used to send assets? HOT 2
- Green wallet seed import can't compatible with sideswap wallet HOT 3
- Elements/Liquidv1 package for StartOS HOT 1
- How to use with bitcoinlib-js HOT 7
- Message signing only works with legacy addresses HOT 4
- Block proof invalid after block 431 HOT 16
- issueasset: issuance is always blinded HOT 2
- RPC example or tutorial opcodes enabled by liquid HOT 1
- Write and sign custom transaction code HOT 2
- Can´t mint tokens HOT 1
- Can't enable coin control features HOT 5
- Given claim_script does not match the given Bitcoin transaction. HOT 9
- signmessage HOT 1
- Wallet migration fails with confidential transactions HOT 8
- wallet managed by elements-cli receives tx with tokens but doesn't process them (not in the locally parsed TX, not in the balance) HOT 2
- Received funds appear in listreceivedbyaddress, but are not taken into account for the wallet balance and cannot be transferred
- Support for Jade hardware wallet HOT 3
- Confidential peg-in transaction HOT 11
- Sending transactions with 0.01 instead of 0.1 sats/vbyte
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elements.