11 Commits

Author SHA1 Message Date
libscott
7e33f2bd52 Tx ID as Asset ID (#926)
* Allow AssetLinks to be used in place of Assets in the Transaction Model and enforce `Transaction.transfer()` to only take an AssetLink

* Remove AssetLink's inheritance from Asset

* Remove id from the Asset model

* Fix get_txids_by_asset_id query for rethinkdb after removing asset's uuid

Because `CREATE` transactions don't have an asset that contains an id
anymore, one way to find all the transactions related to an asset is to
query the database twice: once for the `CREATE` transaction and another
for the `TRANSFER` transactions.

* Add TODO notice for vote test utils to be fixtures

* Update asset model documentation to reflect usage of transaction id

* Fix outdated asset description in transaction schema
2016-12-20 17:28:15 +01:00
Scott Sadler
d2827dfae8 remove asset keywords 2016-12-16 13:50:23 +01:00
Scott Sadler
fc88c36ee5 Merge remote-tracking branch 'origin/master' into remove-cid-fid 2016-12-09 10:42:32 +01:00
Scott Sadler
bdc706d633 fix metadata description in transaction-model.rst 2016-12-06 16:58:06 +01:00
Scott Sadler
21af588f7c docs update for flat transaction 2016-12-01 14:37:41 +01:00
Scott Sadler
18d018519f remove Condition.cid and Fulfillment.fid in favour of dereferencing conditions and fulfillments by their location in their respective arrays 2016-11-29 09:59:43 +01:00
troymc
47fbd2b1ee Updated asset-model.md docs re/ divisible assets 2016-11-26 12:18:51 +01:00
Troy McConaghy
97c3380c2c Removed trailing comma inside vote JSON 2016-11-24 15:59:58 +01:00
Scott Sadler
db673838fd remove distracting para from transaction-model.rst docs 2016-11-24 10:09:26 +01:00
Scott Sadler
a002c38009 updating wording for transaction creation in transaction-model.rst 2016-11-24 10:08:06 +01:00
Scott Sadler
c8228d7ff7 move 'Data Models' from root to server docs and make links to schema 2016-11-23 16:14:11 +01:00