Oct 21, 7-8 AM (16)
Oct 21, 8-9 AM (71)
Oct 21, 9-10 AM (52)
Oct 21, 10-11 AM (39)
Oct 21, 11-12 PM (37)
Oct 21, 12-1 PM (48)
Oct 21, 1-2 PM (20)
Oct 21, 2-3 PM (20)
Oct 21, 3-4 PM (32)
Oct 21, 4-5 PM (10)
Oct 21, 5-6 PM (16)
Oct 21, 6-7 PM (9)
Oct 21, 7-8 PM (16)
Oct 21, 8-9 PM (9)
Oct 21, 9-10 PM (21)
Oct 21, 10-11 PM (13)
Oct 21, 11-12 AM (6)
Oct 22, 12-1 AM (7)
Oct 22, 1-2 AM (6)
Oct 22, 2-3 AM (8)
Oct 22, 3-4 AM (13)
Oct 22, 4-5 AM (14)
Oct 22, 5-6 AM (25)
Oct 22, 6-7 AM (23)
Oct 22, 7-8 AM (51)
Oct 22, 8-9 AM (26)
Oct 22, 9-10 AM (68)
Oct 22, 10-11 AM (25)
Oct 22, 11-12 PM (23)
Oct 22, 12-1 PM (42)
Oct 22, 1-2 PM (34)
Oct 22, 2-3 PM (51)
Oct 22, 3-4 PM (38)
Oct 22, 4-5 PM (12)
Oct 22, 5-6 PM (14)
Oct 22, 6-7 PM (9)
Oct 22, 7-8 PM (5)
Oct 22, 8-9 PM (5)
Oct 22, 9-10 PM (15)
Oct 22, 10-11 PM (8)
Oct 22, 11-12 AM (6)
Oct 23, 12-1 AM (3)
Oct 23, 1-2 AM (10)
Oct 23, 2-3 AM (3)
Oct 23, 3-4 AM (3)
Oct 23, 4-5 AM (3)
Oct 23, 5-6 AM (10)
Oct 23, 6-7 AM (29)
Oct 23, 7-8 AM (18)
Oct 23, 8-9 AM (46)
Oct 23, 9-10 AM (33)
Oct 23, 10-11 AM (44)
Oct 23, 11-12 PM (21)
Oct 23, 12-1 PM (18)
Oct 23, 1-2 PM (33)
Oct 23, 2-3 PM (7)
Oct 23, 3-4 PM (14)
Oct 23, 4-5 PM (13)
Oct 23, 5-6 PM (43)
Oct 23, 6-7 PM (10)
Oct 23, 7-8 PM (10)
Oct 23, 8-9 PM (5)
Oct 23, 9-10 PM (17)
Oct 23, 10-11 PM (4)
Oct 23, 11-12 AM (2)
Oct 24, 12-1 AM (3)
Oct 24, 1-2 AM (0)
Oct 24, 2-3 AM (2)
Oct 24, 3-4 AM (1)
Oct 24, 4-5 AM (1)
Oct 24, 5-6 AM (0)
Oct 24, 6-7 AM (0)
Oct 24, 7-8 AM (0)
Oct 24, 8-9 AM (3)
Oct 24, 9-10 AM (0)
Oct 24, 10-11 AM (2)
Oct 24, 11-12 PM (0)
Oct 24, 12-1 PM (2)
Oct 24, 1-2 PM (4)
Oct 24, 2-3 PM (6)
Oct 24, 3-4 PM (3)
Oct 24, 4-5 PM (3)
Oct 24, 5-6 PM (1)
Oct 24, 6-7 PM (5)
Oct 24, 7-8 PM (7)
Oct 24, 8-9 PM (4)
Oct 24, 9-10 PM (5)
Oct 24, 10-11 PM (1)
Oct 24, 11-12 AM (1)
Oct 25, 12-1 AM (5)
Oct 25, 1-2 AM (2)
Oct 25, 2-3 AM (0)
Oct 25, 3-4 AM (1)
Oct 25, 4-5 AM (0)
Oct 25, 5-6 AM (0)
Oct 25, 6-7 AM (0)
Oct 25, 7-8 AM (0)
Oct 25, 8-9 AM (1)
Oct 25, 9-10 AM (1)
Oct 25, 10-11 AM (3)
Oct 25, 11-12 PM (1)
Oct 25, 12-1 PM (0)
Oct 25, 1-2 PM (0)
Oct 25, 2-3 PM (0)
Oct 25, 3-4 PM (7)
Oct 25, 4-5 PM (5)
Oct 25, 5-6 PM (11)
Oct 25, 6-7 PM (9)
Oct 25, 7-8 PM (4)
Oct 25, 8-9 PM (11)
Oct 25, 9-10 PM (6)
Oct 25, 10-11 PM (7)
Oct 25, 11-12 AM (6)
Oct 26, 12-1 AM (6)
Oct 26, 1-2 AM (3)
Oct 26, 2-3 AM (1)
Oct 26, 3-4 AM (2)
Oct 26, 4-5 AM (7)
Oct 26, 5-6 AM (17)
Oct 26, 6-7 AM (12)
Oct 26, 7-8 AM (36)
Oct 26, 8-9 AM (23)
Oct 26, 9-10 AM (25)
Oct 26, 10-11 AM (34)
Oct 26, 11-12 PM (54)
Oct 26, 12-1 PM (16)
Oct 26, 1-2 PM (28)
Oct 26, 2-3 PM (22)
Oct 26, 3-4 PM (24)
Oct 26, 4-5 PM (14)
Oct 26, 5-6 PM (19)
Oct 26, 6-7 PM (12)
Oct 26, 7-8 PM (17)
Oct 26, 8-9 PM (21)
Oct 26, 9-10 PM (44)
Oct 26, 10-11 PM (12)
Oct 26, 11-12 AM (10)
Oct 27, 12-1 AM (7)
Oct 27, 1-2 AM (11)
Oct 27, 2-3 AM (2)
Oct 27, 3-4 AM (8)
Oct 27, 4-5 AM (13)
Oct 27, 5-6 AM (10)
Oct 27, 6-7 AM (5)
Oct 27, 7-8 AM (24)
Oct 27, 8-9 AM (49)
Oct 27, 9-10 AM (46)
Oct 27, 10-11 AM (38)
Oct 27, 11-12 PM (19)
Oct 27, 12-1 PM (26)
Oct 27, 1-2 PM (88)
Oct 27, 2-3 PM (72)
Oct 27, 3-4 PM (47)
Oct 27, 4-5 PM (28)
Oct 27, 5-6 PM (17)
Oct 27, 6-7 PM (35)
Oct 27, 7-8 PM (15)
Oct 27, 8-9 PM (10)
Oct 27, 9-10 PM (47)
Oct 27, 10-11 PM (4)
Oct 27, 11-12 AM (12)
Oct 28, 12-1 AM (8)
Oct 28, 1-2 AM (3)
Oct 28, 2-3 AM (18)
Oct 28, 3-4 AM (5)
Oct 28, 4-5 AM (2)
Oct 28, 5-6 AM (7)
Oct 28, 6-7 AM (7)
Oct 28, 7-8 AM (3)
2,635 commits this week Oct 21, 2020 - Oct 28, 2020
Record delisted pools in a dedicated table.
Record delisted pools in a dedicated table instead of using a field in
the `pool_registrations` table.

In the updated schema, a pool is delisted if (and only if) there is a
single row containing that pool's id in the `delisted_pools` table.

This solution has several advantages:

  1.  We only need a single database row to record that a pool is delisted.

  2.  We no longer need to carefully to ensure that all registration records
      for a particular pool have the same delisted status. A pool is either
      delisted or not delisted: the schema rules out all intermediate states.

  3.  Pools automatically remain delisted when rollbacks occur or when new
      certificates are published, with no extra effort.

  4.  The `putPoolRegistration` function no longer needs to read the
      most-recently-written registration entry before adding a new entry.

  5.  Each row in the `pool_registrations` table is now just an immutable
      record of a registration certificate.

  6.  The `PoolFlag` type is no longer necessary.
Record delisted pools in a dedicated table.
Record delisted pools in a dedicated table instead of using a field in
the `pool_registrations` table.

In the updated schema, a pool is delisted if (and only if) there is a
single row containing that pool's id in the `delisted_pools` table.

This solution has several advantages:

  1.  We only need a single database row to record that a pool is delisted.

  2.  We no longer need to carefully to ensure that all registration records
      for a particular pool have the same delisted status. A pool is either
      delisted or not delisted: the schema rules out all intermediate states.

  3.  Pools automatically remain delisted when rollbacks occur or when new
      certificates are published, with no extra effort.

  4.  The `putPoolRegistration` function no longer needs to read the
      most-recently-written registration entry before adding a new entry.

  5.  Each row in the `pool_registrations` table is now just an immutable
      record of a registration certificate.

  6.  The `PoolFlag` type is no longer necessary.
Merge #2167
2167: Add transaction TTL to payments API r=rvl a=rvl

### Issue Number

ADP-93 / #1840

### Overview

- [x] Add transaction TTL to swagger spec. User provides the value in seconds.
- [x] Add transaction TTL to API types
- [x] Add TTL slot calculation to API handler function
- [x] Adjust mkStdTx to make ttl easier - it now takes the expiry slot directly.
- [x] Integration tests

### Comments

Next PRs
- [x] Allow deleting expired transactions ⇒ #2262
- [x] Add CLI option `cardano-wallet transaction create [--ttl=SECONDS]` ⇒ #2267
- [ ] Perhaps clean up the large number of function arguments and return values in transaction layer functions.


Co-authored-by: Rodney Lorrimar <[email protected]>
Bump chain-deps from `f17c453` to `182e960`
Bumps [chain-deps](https://github.com/input-output-hk/chain-libs) from `f17c453` to `182e960`.
- [Release notes](https://github.com/input-output-hk/chain-libs/releases)
- [Commits](https://github.com/input-output-hk/chain-libs/compare/f17c45336bb07322ff18d0ae257c999c0c107263...182e960275c19dbb1326946c09ad4c27a15c0a39)

Signed-off-by: dependabot-preview[bot] <[email protected]>