Author

Topic: No outputs (Read 928 times)

legendary
Activity: 1260
Merit: 1019
April 09, 2016, 02:16:15 PM
#8
Thanks amalcin.  That is a very good example of what I am talking about.  
But could you ever get an transaction accepted with , "out":[], "lock_time";0,....  ?
Such "transaction" can be created.
But it can not be confirmed or even relayed under the current consensus rules.

The transaction without inputs and outputs:
Code:
01000000000000000000

Decoded:
Code:
{
   "lock_time":0,
   "size":10,
   "inputs":[
      
   ],
   "version":1,
   "vin_sz":0,
   "hash":"d21633ba23f70118185227be58a63527675641ad37967e2aa461559f577aec43",
   "vout_sz":0,
   "out":[
      
   ]
}

for more information:
http://google.com/search?q=d21633ba23f70118185227be58a63527675641ad37967e2aa461559f577aec43
staff
Activity: 3458
Merit: 6793
Just writing some code
April 09, 2016, 01:45:01 PM
#7
If you use OP_RETURN I think it will be standard.
OP_RETURN (one per tx) is standard output
tx example:
https://blockchain.info/tx/8ddc09e3986cb6e267d35e814c3e0fb05d68dd08a560fa18759ef58b2a72ef44

Thanks amalcin.  That is a very good example of what I am talking about. 
But could you ever get an transaction accepted with , "out":[], "lock_time";0,....  ?
No.
full member
Activity: 399
Merit: 105
April 09, 2016, 01:43:02 PM
#6
If you use OP_RETURN I think it will be standard.
OP_RETURN (one per tx) is standard output
tx example:
https://blockchain.info/tx/8ddc09e3986cb6e267d35e814c3e0fb05d68dd08a560fa18759ef58b2a72ef44

Thanks amalcin.  That is a very good example of what I am talking about. 
But could you ever get an transaction accepted with , "out":[], "lock_time";0,....  ?
legendary
Activity: 1260
Merit: 1019
April 09, 2016, 12:39:23 PM
#5
If you use OP_RETURN I think it will be standard.
OP_RETURN (one per tx) is standard output
tx example:
https://blockchain.info/tx/8ddc09e3986cb6e267d35e814c3e0fb05d68dd08a560fa18759ef58b2a72ef44
staff
Activity: 3458
Merit: 6793
Just writing some code
April 09, 2016, 12:25:25 PM
#4
No. You cannot have no outputs, however you can have an output with a zero amount so that all the Bitcoin still goes to fees.

Is such a tx "standard"?

(i.e. would normal nodes propagate it?)

If you use OP_RETURN I think it will be standard.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
April 09, 2016, 12:21:38 PM
#3
No. You cannot have no outputs, however you can have an output with a zero amount so that all the Bitcoin still goes to fees.

Is such a tx "standard"?

(i.e. would normal nodes propagate it?)
staff
Activity: 3458
Merit: 6793
Just writing some code
April 09, 2016, 12:19:49 PM
#2
Is it possible to form a valid transaction that gets into the blockchain that has no outputs.  I.e. all of the inputs go to fees.
No. You cannot have no outputs, however you can have an output with a zero amount so that all the Bitcoin still goes to fees.
full member
Activity: 399
Merit: 105
April 09, 2016, 12:05:36 PM
#1
Is it possible to form a valid transaction that gets into the blockchain that has no outputs.  I.e. all of the inputs go to fees.
Jump to: