DB v7 & Time Left Issue (?)

I don’t understand how time left is now being represented in the order book.

It was working before, at least I thought it was, showing the block remaining until an order expires.

<br />+---------------+------------+--------+--------------+-----------+-----------+--------<br />| Give Quantity | Give Asset | Price&nbsp; | Price Assets | Fee (BTC) | Time Left |<br />+---------------+------------+--------+--------------+-----------+-----------+--------<br />|&nbsp; &nbsp; &nbsp; 50.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0050 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280193&nbsp; | 023d390<br />|&nbsp; &nbsp; 200.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0060 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280155&nbsp; | 614da45<br />|&nbsp; &nbsp; 72.72&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0070 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280163&nbsp; | 09a95d6<br />|&nbsp; 887.36130911 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0075 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280316&nbsp; | 8fcc8a5<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0076 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280312&nbsp; | 2e1687c<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0077 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280310&nbsp; | 3eb696a<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0078 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280309&nbsp; | 639224d<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0079 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280314&nbsp; | 5b94b07<br />|&nbsp; &nbsp; &nbsp; 15.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0080 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280255&nbsp; | abdd6e7<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0080 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280313&nbsp; | 16482b2<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0081 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280311&nbsp; | eea6567<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0082 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280308&nbsp; | 07b8589<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0083 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280306&nbsp; | e06b2c3<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0084 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280307&nbsp; | 94b8b18<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0085 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280305&nbsp; | da22e9d<br />|&nbsp; 100.01818181 |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0086 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280269&nbsp; | 4b8d3c3<br />|&nbsp; &nbsp; 100.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0100 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280315&nbsp; | a733147<br />|&nbsp; &nbsp; 200.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0150 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280906&nbsp; | 5222ce1<br />|&nbsp; &nbsp; 100.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0200 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 280974&nbsp; | 5371739<br />|&nbsp; &nbsp; 250.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; | 0.0200 | BTC/XCP ask&nbsp; |&nbsp; 0.0001&nbsp; |&nbsp; 279877&nbsp; | 4eb6e52<br />+---------------+------------+--------+--------------+-----------+-----------+--------<br />

With no way to look up your pending orders, we’re left to look at quantities remaining, to see how much “time” is left on our order, to both wonder about getting filled, and to be available to pay if we’re filled.

Might not be related to DB v7, might have something to do with commit

https://github.com/PhantomPhreak/counterpartyd/commit/bc4c2471600293be9635c8a688754ee5388d5dd7

Which happened around the same time I updated my DB.