spartacusrex (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 02:28:02 PM |
|
This is goooood news.. As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality. This has major implications, as it means that REFUND TXNs now work. Without having to worry about TXN malleability. So that lots and lots of clever smart contracts can be written and used, that were more like fantasy stories a mere couple of months ago.. For me, the BIG ONE, is Atomic Cross Chain Transfers. We can now finally see the light at the end of the 'Trust-Free 100%-Secure Crypto-Exchange' tunnel. (Crypto, not FIAT, as FIAT always requires trust) Lots of other uses too. (Lightning Network is another..) .. Just wanted to pass that info on.. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
Life is Code.
|
|
|
Meuh6879
Legendary
Offline
Activity: 1512
Merit: 1012
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 02:29:42 PM |
|
yep, when i have tested the RC1 of 0.11.2 ... i have many cscript blocked on the debug.log (i have a mining device).
|
|
|
|
DooMAD
Legendary
Offline
Activity: 3892
Merit: 3178
Leave no FUD unchallenged
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 02:55:10 PM Last edit: November 13, 2015, 04:35:08 PM by DooMAD |
|
This is goooood news.. As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality. This has major implications, as it means that REFUND TXNs now work. Without having to worry about TXN malleability. So that lots and lots of clever smart contracts can be written and used, that were more like fantasy stories a mere couple of months ago.. For me, the BIG ONE, is Atomic Cross Chain Transfers. We can now finally see the light at the end of the 'Trust-Free 100%-Secure Crypto-Exchange' tunnel. (Crypto, not FIAT, as FIAT always requires trust) Lots of other uses too. (Lightning Network is another..) .. Just wanted to pass that info on.. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Would this be compatible with coins currently supporting AT, such as Qora and Burst? They can already do atomic cross chain transfers directly from one blockchain to the other without an exchange, but I don't know if it's done via a different method. I can grasp enough to understand vaguely how Automated Transactions work, but not the technical inner workings and whether it uses OP_CHECKLOCKTIMEVERIFY or not. Would be amazing if I could trade Between BTC/Qora/Burst without relying on an intermediary.
|
|
|
|
spartacusrex (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 03:16:39 PM |
|
Would this be compatible with coins currently supporting AT, such as Qora and Burst? They can already do atomic cross chain transfers directly from one blockchain to the other without an exchange, but I don't know if it's done via a different method. I can grasp enough to understand vaguely how Automated Transactions work, but not the technical inner workings and whether it uses OP_CHECKLOCKTIMEVERIFY or not. Would be amazing if I could trade Between BTC/Qora/Burst without relying on an intermediary.
Absolutely. The ACCT 'trick' involves revealing the preimage of a hash value. (show you know the value that hashes to a value locked in the smart contract.) Looking at https://ciyam.org/at/at_atomic.html that is exactly how AT does it as well. CIYAM ?
|
Life is Code.
|
|
|
Velkro
Legendary
Offline
Activity: 2296
Merit: 1014
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 03:20:25 PM |
|
I don't see this big news. Its actually bad, you never know if there are some "paused" coins spent. This can give heads-up to some traders, and some will be unaware :/ Thats pretty sad day
|
|
|
|
spartacusrex (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 03:29:26 PM |
|
I don't see this big news. Its actually bad, you never know if there are some "paused" coins spent. This can give heads-up to some traders, and some will be unaware :/ Thats pretty sad day
I don't follow you. What do you mean ? The coins are sent to a multi-sig contract that can refund you at a future time. You can't spend the coins once you have initiated the procedure (sent them to the multi-sig contract). The only 'issue' is if one party refuses to complete the trade (refuses to sign the multi-sig txn), in which case the coins will be refunded.
|
Life is Code.
|
|
|
AgentofCoin
Legendary
Offline
Activity: 1092
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 03:44:04 PM |
|
This is goooood news.. As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality. This has major implications, as it means that REFUND TXNs now work. Without having to worry about TXN malleability. ...
You probably shouldn't say "refund" txs, it is more like escrow, and when the terms are not fulfilled, it is returned to you. Refund makes it sound more like on-the-spot return. But anyway this is great news. Many new features and companies will come from this.
|
I support a decentralized & unregulatable ledger first, with safe scaling over time. Request a signed message if you are associating with anyone claiming to be me.
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 03:44:52 PM Last edit: November 14, 2015, 04:36:36 AM by CIYAM |
|
Yes - if it works with an SHA256 hash then it would be compatible with AT.
EDIT: To clarify if a "Bitcoin script" is written that works by checking a secret then it would be compatible with the Atomic Cross-Chain Transfer AT although it is not clear to me how OP_CHECKLOCKTIMEVERIFY is really going to help (as it just prevents an output from being spendable for X blocks).
|
|
|
|
DooMAD
Legendary
Offline
Activity: 3892
Merit: 3178
Leave no FUD unchallenged
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 04:09:40 PM |
|
Yes - if it works with an SHA256 hash then it would be compatible with AT.
Fantastic news. Qora and Burst are so undervalued at the moment, so the fact that they're pretty much all set to go for Atomic Cross Chain Transfers while other coins will be playing catch up is a definite buy signal for me. Time to increase some holdings while it's cheap!
|
|
|
|
oblivi
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 06:01:00 PM |
|
This is goooood news.. As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality. This has major implications, as it means that REFUND TXNs now work. Without having to worry about TXN malleability. ...
You probably shouldn't say "refund" txs, it is more like escrow, and when the terms are not fulfilled, it is returned to you. Refund makes it sound more like on-the-spot return. But anyway this is great news. Many new features and companies will come from this. I think it will take a bit of time until all those mainstream companies realize any of this. I mean the average guy who is involved in here in this forum probably doesn't know what stuff like OP_CHECKLOCKTIMEVERIFY does, let alone people outside the Bitcoin ecosystem. This is good news for us because I dont want an higher price just yet.
|
|
|
|
jl2012
Legendary
Offline
Activity: 1792
Merit: 1111
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 06:07:56 PM |
|
I don't see this big news. Its actually bad, you never know if there are some "paused" coins spent. This can give heads-up to some traders, and some will be unaware :/ Thats pretty sad day
I don't follow you. What do you mean ? He meant to get paid for his ad-sig
|
Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY) LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC) PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
|
|
|
Erkallys
Legendary
Offline
Activity: 1120
Merit: 1004
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 06:11:08 PM |
|
I'm afraid that I didn't understand. What does it actually mean ? You could buy altcoins directly from Bitcoin Core ? How could it be organised ? It seems unrealistic for me.
|
|
|
|
crowetic
Legendary
Offline
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 08:58:21 PM |
|
Awesome news, indeed!
|
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒ ▓▓▓▓▓▓▒ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▒ ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓
| ORTAL
| .⊙.Web and Application hosting. ⊙ decentralized infrastructure .⊙.leveling and voting.
| Founder/current dev group facilitator |
[/td][/tr][/table] [/table]
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 09:01:58 PM |
|
As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality.
When will it be activated? It requires a fork it seems.
|
|
|
|
ronald98
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 13, 2015, 09:17:46 PM |
|
As of the release of Core 0.11.2 OP_CHECKLOCKTIMEVERIFY is now becoming a reality.
When will it be activated? It requires a fork it seems. The announcement says it's been activated already, but I think it needs a mountain of other changes to be fully usable. The technical details in the announcement aren't easy to understand, but I interpreted it as saying lock timed transactions can't be put into a block or the mempool until after the lock time's up. If my interpretation's right that will need changing before OP_CHECKLOCKTIMEVERIFY becomes fully usable. https://bitcoin.org/en/release/v0.11.2BIP65 soft fork to enforce OP_CHECKLOCKTIMEVERIFY opcodeThis release includes several changes related to the BIP65 soft fork which redefines the existing OP_NOP2 opcode as OP_CHECKLOCKTIMEVERIFY (CLTV) so that a transaction output can be made unspendable until a specified point in the future. This release will only relay and mine transactions spending a CLTV output if they comply with the BIP65 rules as provided in code. This release will produce version 4 blocks by default. Please see the notice to miners below. Once 951 out of a sequence of 1,001 blocks on the local node’s best block chain contain version 4 (or higher) blocks, this release will no longer accept new version 3 blocks and it will only accept version 4 blocks if they comply with the BIP65 rules for CLTV. For more information about the soft-forking change, please see https://github.com/bitcoin/bitcoin/pull/6351
|
|
|
|
BlindMayorBitcorn
Legendary
Offline
Activity: 1260
Merit: 1116
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 14, 2015, 08:59:32 AM |
|
|
Forgive my petulance and oft-times, I fear, ill-founded criticisms, and forgive me that I have, by this time, made your eyes and head ache with my long letter. But I cannot forgo hastily the pleasure and pride of thus conversing with you.
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 14, 2015, 09:58:30 AM Last edit: November 14, 2015, 11:24:22 AM by CIYAM |
|
After reading about CLTV (a fairly simple explanation of it can be found here: https://bitcoinmagazine.com/articles/checklocktimeverify-or-how-a-time-lock-patch-will-boost-bitcoin-s-potential-1446658530) I have worked out how to tie it to the ACCT AT implementation and the workflow is as follows (assuming that Alice and Bob have decided that they are wanting to exchange 100 ATC for 0.001 BTC respectively and assuming fees have been added as appropriate for each blockchain): Alice creates an ACCT AT to transfer 100 ATC to Bob (locked by a "secret" and with an automatic refund after 24 hours). Alice gives Bob a BTC public key and then Bob then creates a Bitcoin 2 of 2 multi-sig address and sends 0.001 BTC to it with a special P2SH script. The first part of this script requires Alice's signature plus a secret and the second part only requires Bob's signature but is CLTV locked for 12 hours. Assuming both parties are happy (say after 6 confirmations) then Alice will send a tx that contains the secret in order to move the BTC to another address she owns and Bob will send that secret to the ACCT AT to transfer the ATC to his account on the AT supporting blockchain. If Alice never sends the tx then after 12 hours Bob can simply create a new tx to refund his BTC to another address and of course if Bob never creates the correct Bitcoin tx then Alice will automatically have her ATC refunded after 24 hours (of course 12 and 24 hours could be made smaller if desired). Although it is a little more tricky on the BTC side, assuming that some software is written to take care of the script and multi-sig address, then it will be entirely possible to exchange BTC for any ATC (such as BURST or QORA) without the need of any 3rd party (although you'd still need to find somewhere to match an order).
|
|
|
|
luxe
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 14, 2015, 11:14:03 AM |
|
After reading about CLTV (a fairly simple explanation of it can be found here: https://bitcoinmagazine.com/articles/checklocktimeverify-or-how-a-time-lock-patch-will-boost-bitcoin-s-potential-1446658530) I have worked out how to tie it to the ACCT AT implementation and the workflow is as follows (assuming that Alice and Bob have decided that they are wanting to exchange 100 ATC for 0.001 BTC respectively): Alice creates an ACCT AT to transfer 100 ATC to Bob (locked by a "secret" and with an automatic refund after 24 hours). Alice gives Bob a BTC public key and then Bob then creates a Bitcoin 1 of 2 multi-sig address and sends 0.001 BTC to it with a special P2SH script. The first part of this script requires Alice's signature plus a secret and the second part only requires Bob's signature but is CLTV locked for 12 hours. Assuming both parties are happy then Alice will send a tx that contains the secret in order to move the BTC to another address she owns and Bob will send that secret to the ACCT AT to transfer the ATC to his account on the AT supporting blockchain. If Alice never sends the tx then after 12 hours Bob can simply create a new tx to refund his BTC to another address and of course if Bob never creates the correct Bitcoin tx then Alice will automatically have her ATC refunded after 24 hours (of course 12 and 24 hours could be made smaller if desired). Although it is a little more tricky on the BTC side, assuming that some software is written to take care of the script and multi-sig address, then it will be entirely possible to exchange BTC for any ATC (such as BURST or QORA) without the need of any 3rd party. Thanks a lot for the explanation! I really hope that AT finally gets more attention, more coins implementing it and more people using it.
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 14, 2015, 11:23:33 AM |
|
So, it means no one can do Transaction Malleability Attack anymore, right?
It only prevents malleability once the tx has been confirmed (before it is confirmed it is still potentially malleable although that itself is becoming harder to do due to other changes that have been introduced to prevent it). The thing is that unlike nLockTime you can have the txid safely confirmed prior to the actual time in question (which is what made trying to do ACCT using nLockTime unpractical which is why projects that had claimed they could do this were actually only working on "testnet").
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 14, 2015, 01:36:31 PM |
|
So I think the Bitcoin script to do an ACCT would look something like this: IF OP_SHA256 <secret> <secret_hash> <Alices's public key> CHECKSIGVERIFY ELSE <now + 12 hours> CHECKLOCKTIMEVERIFY DROP <Bob's public key> CHECKSIGVERIFY ENDIF <Alice's pubkey> <Bob's pubkey> 2 CHECKMULTISIG
although I'm not sure if the above is correct (perhaps someone more familiar with Bitcoin script could provide some feedback). Admittedly I'm not very well versed with P2SH so I'm not sure exactly how you could get the script that does not contain the <secret> nor public keys to actually work (but I do think this should be possible).
|
|
|
|
|