<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Da2ce7%3ANew_Transaction</id>
	<title>Da2ce7:New Transaction - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Da2ce7%3ANew_Transaction"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Da2ce7:New_Transaction&amp;action=history"/>
	<updated>2026-05-15T07:56:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Da2ce7:New_Transaction&amp;diff=4413&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;''New Transaction'' is an proposal for a new extendable method of creating transactions.&amp;lt;br /&amp;gt; Each new transaction is defined by a random ''txnumber'' that should be un...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Da2ce7:New_Transaction&amp;diff=4413&amp;oldid=prev"/>
		<updated>2019-05-10T06:22:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;New Transaction&amp;#039;&amp;#039; is an proposal for a new extendable method of creating transactions.&amp;lt;br /&amp;gt; Each new transaction is defined by a random &amp;#039;&amp;#039;txnumber&amp;#039;&amp;#039; that should be un...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''New Transaction'' is an proposal for a new extendable method of creating transactions.&amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
Each new transaction is defined by a random ''txnumber'' that should be unique globally.&amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
Advanced functions, such as transaction scripts, and importing and exporting can appropriately be done using the group of supporting functions.&lt;br /&gt;
&lt;br /&gt;
=== Transaction life-cycle ===&lt;br /&gt;
Every New Transaction goes through the following steps. (not always in the same order)&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
In this stage, a transaction is being built:&amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
* Any feature of the transaction may be modified.&lt;br /&gt;
* Users can add, remove, any input, output or script.&lt;br /&gt;
&lt;br /&gt;
==== Ready ====&lt;br /&gt;
In this stage, only certain features may be modified:&amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
* Only inputs may be changed. (is this correct, or will past signatures be destroyed if we change them?)&lt;br /&gt;
* Any other attribute that doesn't effect the existing signatures.&lt;br /&gt;
&lt;br /&gt;
==== Done ====&lt;br /&gt;
In this stage, the transaction is complete, and would be accepted by the network:&lt;br /&gt;
* User still can add inputs, however all the outputs have already been fulfilled, these new inputs will be counted as fees.&lt;br /&gt;
* After any change, a 'done' transaction gets automatically demoted to 'Ready' state.&lt;br /&gt;
&lt;br /&gt;
==== Submitted ====&lt;br /&gt;
In this stage the transaction has been published to the bitcoin network and is in/or is awaiting to be included in a block.&lt;br /&gt;
&lt;br /&gt;
=== Terms ===&lt;br /&gt;
&lt;br /&gt;
''txnumber'' is a random string given to every transaction for identification purposes.&amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
''pubkey'' is assumed to be owned by the client that preforms the 'readying' of the transition (build &amp;amp;gt; ready states)&lt;br /&gt;
&lt;br /&gt;
'''This entire processing is lazy!  Bitcoin will automatically fill-out everything just as it dose at-the-moment with the ''readytransaction'' stage.'''&lt;br /&gt;
&lt;br /&gt;
Please not this draft doesn't include all possible error responses.&lt;br /&gt;
&lt;br /&gt;
== commands: ==&lt;br /&gt;
  &lt;br /&gt;
  /// make a new transaction (6 override)&lt;br /&gt;
  newtransaction&lt;br /&gt;
  newtransaction {name}&lt;br /&gt;
  &lt;br /&gt;
  newtransaction {txuniqueid}&lt;br /&gt;
  newtransaction {txuniqueid} {name}&lt;br /&gt;
  &lt;br /&gt;
  newtransaction {txid}&lt;br /&gt;
  newtransaction {txid} {name}&lt;br /&gt;
  &lt;br /&gt;
  response {txtxuniqueid}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// add an input to the transaction. (1 overrides)&lt;br /&gt;
  addinput {txuniqueid} {txid} {index}&lt;br /&gt;
  addinput {txuniqueid} {txid} {index} {comment}&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid} {iouniqueid}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// add outputs to the transaction (6 overrides)&lt;br /&gt;
  /// add fee to transaction&lt;br /&gt;
  addoutput {txuniqueid} {amount} {forced|suggested|optional}&lt;br /&gt;
  addoutput {txuniqueid} {amount} {forced|suggested|optional} {comment}&lt;br /&gt;
  &lt;br /&gt;
  // add change address to transaction&lt;br /&gt;
  addoutput {txuniqueid} {pubkey}&lt;br /&gt;
  addoutput {txuniqueid} {pubkey} {comment}&lt;br /&gt;
  &lt;br /&gt;
  // add send outputs&lt;br /&gt;
  addoutput {txuniqueid} {address} {amount}&lt;br /&gt;
  addoutput {txuniqueid} {address} {amount} {comment}&lt;br /&gt;
  &lt;br /&gt;
  response  {txuniqueid} {iouniqueid}&lt;br /&gt;
  &lt;br /&gt;
  // add many send outputs&lt;br /&gt;
  addoutputlist {txuniqueid} [{address},{amount}]&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid}  [{iouniqueid}]&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// remove input or outpus (1 override)&lt;br /&gt;
  remove {txuniqueid} {iouniqueid}&lt;br /&gt;
  remove {txuniqueid} [{iouniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid} droped: {iouniqueid}&lt;br /&gt;
  response {txuniqueid} droped: [{iouniqueid}]&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// prints out human readable information about the tranaction&lt;br /&gt;
  shownewtransaction {txuniqueid} (1 override)&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid}&lt;br /&gt;
            in: [{iouniqueid},{address},{amount},(comment)]&lt;br /&gt;
            in total: {amount}&lt;br /&gt;
            out: [{iouniqueid},{address},{amount},(comment)]&lt;br /&gt;
            out total: {amount}&lt;br /&gt;
            fee: {amount}&lt;br /&gt;
            size: {readytxn bit}&lt;br /&gt;
            state: {building:ready:done:submitted}&lt;br /&gt;
  &lt;br /&gt;
  shownewtransaction {txid} (1 override)&lt;br /&gt;
  &lt;br /&gt;
  response {txid}&lt;br /&gt;
            in: [{txid},{address},{amount},(comment)]&lt;br /&gt;
            in total: {amount}&lt;br /&gt;
            out: [{address},{amount},(comment)]&lt;br /&gt;
            out total: {amount}&lt;br /&gt;
            fee: {amount}&lt;br /&gt;
            size: {readytxn bit}&lt;br /&gt;
            block: {block number}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// demote a transaction (1 override)&lt;br /&gt;
  demotetransaction {txuniqueid}&lt;br /&gt;
  demotetransaction {txuniqueid} {build|ready|done}&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid} {building|ready|done}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// exports a binary encoded transition (4 override)&lt;br /&gt;
  exporttransaction {txuniqueid}&lt;br /&gt;
  exporttransaction [txuniqueid]&lt;br /&gt;
  exporttransaction {txid}&lt;br /&gt;
  exporttransaction [txid]&lt;br /&gt;
  &lt;br /&gt;
  response {binary data}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// import binary encoded transition(s) (1 override)&lt;br /&gt;
  inporttransaction {binary data}&lt;br /&gt;
  inporttransaction [{binary data}]&lt;br /&gt;
  &lt;br /&gt;
  response [{txuniqueid}]&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// check and complete ''build'' translation (1 override)&lt;br /&gt;
  reddytransaction {txuniqueid}&lt;br /&gt;
  reddytransaction [{txuniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  response [{txuniqueid}] {has made changes|no changes needed|not enough coins|invalid transaction}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// sign ''ready'' transaction (6 override)&lt;br /&gt;
  signtransaction {txuniqueid}&lt;br /&gt;
  signtransaction [{txuniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  // calls reddytransaction before hand if needed&lt;br /&gt;
  signtransaction -r {txuniqueid}&lt;br /&gt;
  signtransaction -r [{txuniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  // sign a pre-signed/partial transaction (signs for owned private keys)&lt;br /&gt;
  signtransaction -o {txuniqueid}&lt;br /&gt;
  signtransaction -o [{txuniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  response [{txuniqueid},{done|failed}]&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// publish a ''done'' transaction to peers (2 override)&lt;br /&gt;
  // submits all 'done'  transactions&lt;br /&gt;
  submittransaction -a&lt;br /&gt;
  &lt;br /&gt;
  // submits a single  'done'  transaction&lt;br /&gt;
  submittransaction {txuniqueid}&lt;br /&gt;
  &lt;br /&gt;
  //  submits a list of 'done'  transaction&lt;br /&gt;
  submittransaction [{txuniqueid}]&lt;br /&gt;
  &lt;br /&gt;
  response [{txuniqueid},{txid}]&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// complete transaction from any stage and publish it (1 override)&lt;br /&gt;
  completeransaction {txuniqueid}&lt;br /&gt;
  &lt;br /&gt;
  response {txuniqueid} {txid}&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  /// delete a transaction from local client&lt;br /&gt;
  droptransaction {txuniqueid}&lt;br /&gt;
  &lt;br /&gt;
  responce dropped: {txuniqueid}&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:Blockchain]]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[PR Network]]&lt;br /&gt;
* [[Vexanium]]&lt;br /&gt;
* [[Cryptectum]]&lt;br /&gt;
* [[LAPO Blockchain]]&lt;br /&gt;
* [[TimeBox]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>