From 71d6c154a5ebe96b2cbb0c5d014b016c70cfc0af Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 2 Sep 2018 07:11:03 -1100 Subject: [PATCH] Update doc --- src/cc/oracles.cpp | 12 ++++++++---- src/cc/prices.cpp | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/cc/oracles.cpp b/src/cc/oracles.cpp index 5c07582c0..b0ac46cf2 100644 --- a/src/cc/oracles.cpp +++ b/src/cc/oracles.cpp @@ -38,24 +38,28 @@ create: vins.*: normal inputs vout.0: txfee tag to oracle normal address - vout.1: opreturn with name and description and format for data + vout.1: change, if any + vout.n-1: opreturn with name and description and format for data register: vins.*: normal inputs vout.0: txfee tag to normal marker address - vout.1: opreturn with createtxid, pubkey and price per data point + vout.1: change, if any + vout.n-1: opreturn with createtxid, pubkey and price per data point subscribe: vins.*: normal inputs vout.0: subscription fee to publishers CC address - vout.1: opreturn with createtxid, registered provider's pubkey, amount + vout.1: change, if any + vout.n-1: opreturn with createtxid, registered provider's pubkey, amount data: vin.0: normal input vin.1+: subscription vout.0 vout.0: change to publishers CC address vout.1: payment for dataprovider - vout.2: opreturn with data in proper format + vout.2: change, if any + vout.n-1: opreturn with data in proper format */ diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index f865e45b1..9b11aaa45 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -18,7 +18,7 @@ /* Prices CC would best build on top of the oracles CC, ie. to combine payments for multiple oracles and to calculate a 51% protected price feed. - CC locked funds can be used for automated trading + CC locked funds can be used for automated trading -> creating valid price */