In the bitcoin scripting language, how can I access other outputs of the transaction? Or how else can I limit how the coins may be spent? The Next CEO of Stack OverflowWhat is opcode 252?Is there any way to send an output to a script which can then only be sent to one of two addresses?Can Bitcoin scripting be used for double spending attacks?Is there any way to make an UTXO that cannot be spent until a certain block #?Is there a maximum size of a scriptSig/scriptPubKey?PUSHDATA4 unnecessary?(Script) Is it possible to create a transaction that is spendable to only one address?How to automatically reveal the secret after some tine in a hash locked transactionCan a transaction have a single 0-value OP_RETURN as its only output?What’s the opcode sequence for doing the reverse of Multisig?
In excess I'm lethal
Is there a way to save my career from absolute disaster?
Received an invoice from my ex-employer billing me for training; how to handle?
Complex fractions
Bold, vivid family
How do scammers retract money, while you can’t?
Can we say or write : "No, it'sn't"?
Several mode to write the symbol of a vector
Anatomically Correct Strange Women In Ponds Distributing Swords
Why didn't Khan get resurrected in the Genesis Explosion?
How do I reset passwords on multiple websites easily?
Why do airplanes bank sharply to the right after air-to-air refueling?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
What does "Its cash flow is deeply negative" mean?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Why do we use the plural of movies in this phrase "We went to the movies last night."?
If the heap is initialized for security, then why is the stack uninitialized?
Would a galaxy be visible from outside, but nearby?
Novel about a guy who is possessed by the divine essence and the world ends?
Is micro rebar a better way to reinforce concrete than rebar?
Would a completely good Muggle be able to use a wand?
Why has the US not been more assertive in confronting Russia in recent years?
Rotate a column
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
In the bitcoin scripting language, how can I access other outputs of the transaction? Or how else can I limit how the coins may be spent?
The Next CEO of Stack OverflowWhat is opcode 252?Is there any way to send an output to a script which can then only be sent to one of two addresses?Can Bitcoin scripting be used for double spending attacks?Is there any way to make an UTXO that cannot be spent until a certain block #?Is there a maximum size of a scriptSig/scriptPubKey?PUSHDATA4 unnecessary?(Script) Is it possible to create a transaction that is spendable to only one address?How to automatically reveal the secret after some tine in a hash locked transactionCan a transaction have a single 0-value OP_RETURN as its only output?What’s the opcode sequence for doing the reverse of Multisig?
Is there any way to add an opcode to a UTXO that prevents how the coins are spent?
For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the accompanying transaction.
script op-return
add a comment |
Is there any way to add an opcode to a UTXO that prevents how the coins are spent?
For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the accompanying transaction.
script op-return
add a comment |
Is there any way to add an opcode to a UTXO that prevents how the coins are spent?
For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the accompanying transaction.
script op-return
Is there any way to add an opcode to a UTXO that prevents how the coins are spent?
For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the accompanying transaction.
script op-return
script op-return
asked 5 hours ago
nick carrawaynick carraway
1549
1549
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There is no way to enforce a rule regarding the nature of an output when an input is spent. You will have to enforce this off chain in some manner, perhaps through multisig schemes where one key is held by a rule engine that will only sign the tx if your requirements are met.
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "308"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f85723%2fin-the-bitcoin-scripting-language-how-can-i-access-other-outputs-of-the-transac%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is no way to enforce a rule regarding the nature of an output when an input is spent. You will have to enforce this off chain in some manner, perhaps through multisig schemes where one key is held by a rule engine that will only sign the tx if your requirements are met.
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
add a comment |
There is no way to enforce a rule regarding the nature of an output when an input is spent. You will have to enforce this off chain in some manner, perhaps through multisig schemes where one key is held by a rule engine that will only sign the tx if your requirements are met.
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
add a comment |
There is no way to enforce a rule regarding the nature of an output when an input is spent. You will have to enforce this off chain in some manner, perhaps through multisig schemes where one key is held by a rule engine that will only sign the tx if your requirements are met.
There is no way to enforce a rule regarding the nature of an output when an input is spent. You will have to enforce this off chain in some manner, perhaps through multisig schemes where one key is held by a rule engine that will only sign the tx if your requirements are met.
answered 5 hours ago
Raghav SoodRaghav Sood
7,58121127
7,58121127
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
add a comment |
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
Is that what, "Incentivized finding of hash collisions" is ?en.bitcoin.it/wiki/Script
– nick carraway
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
No, that is a bounty people can claim if they are able to produce two values that hash to the same hash for some hash function in the script. For example, the bounty for sha1 was claimed after Google released a collision attack
– Raghav Sood
5 hours ago
1
1
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
The coins can still be sent anywhere, there is no restriction on the destination
– Raghav Sood
5 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
Thanks. I have found the best explanation: learnmeabitcoin.com/glossary/script
– nick carraway
3 hours ago
add a comment |
Thanks for contributing an answer to Bitcoin Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f85723%2fin-the-bitcoin-scripting-language-how-can-i-access-other-outputs-of-the-transac%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown