Home / Input Output / cardano-wallet
501 commits this week Dec 06, 2019 - Dec 13, 2019

Merge #1171

1171: Add ‘cost’ and ‘margin’ to stake pools r=KtorZ a=KtorZ

Issue Number

#1090

Overview

  • [x] I have added cost and margin to ‘PoolRegistrationCertificate’ and adjusted Jörmungandr binary decoders to also parse these.
  • [x] I have slightly revised the pool database layer to not store (resp. read) only pool owners, but store (resp. read) registration certificates entirely.
  • [x] I have adjusted the logic from listStakePools to attach cost and margin to each pool
  • [x] I have extended the API types
  • [x] adjusted the swagger file to include these

Comments

Cardano.Pool.DB.Sqlite
  Sqlite
    Stake Pool properties
      putPoolRegistration then readPoolRegistration yields expected result
        +++ OK, passed 100 tests.
      rollback of pool Registrations
        +++ OK, passed 100 tests:
        87% rolled back some
        77% owner has many pools

Co-authored-by: KtorZ [email protected]

Merge #1171

1171: Add ‘cost’ and ‘margin’ to stake pools r=KtorZ a=KtorZ

Issue Number

#1090

Overview

  • [x] I have added cost and margin to ‘PoolRegistrationCertificate’ and adjusted Jörmungandr binary decoders to also parse these.
  • [x] I have slightly revised the pool database layer to not store (resp. read) only pool owners, but store (resp. read) registration certificates entirely.
  • [x] I have adjusted the logic from listStakePools to attach cost and margin to each pool
  • [x] I have extended the API types
  • [x] adjusted the swagger file to include these

Comments

Cardano.Pool.DB.Sqlite
  Sqlite
    Stake Pool properties
      putPoolRegistration then readPoolRegistration yields expected result
        +++ OK, passed 100 tests.
      rollback of pool Registrations
        +++ OK, passed 100 tests:
        87% rolled back some
        77% owner has many pools

Co-authored-by: KtorZ [email protected]

Merge #1171

1171: Add ‘cost’ and ‘margin’ to stake pools r=KtorZ a=KtorZ

Issue Number

#1090

Overview

  • [x] I have added cost and margin to ‘PoolRegistrationCertificate’ and adjusted Jörmungandr binary decoders to also parse these.
  • [x] I have slightly revised the pool database layer to not store (resp. read) only pool owners, but store (resp. read) registration certificates entirely.
  • [x] I have adjusted the logic from listStakePools to attach cost and margin to each pool
  • [x] I have extended the API types
  • [x] adjusted the swagger file to include these

Comments

Cardano.Pool.DB.Sqlite
  Sqlite
    Stake Pool properties
      putPoolRegistration then readPoolRegistration yields expected result
        +++ OK, passed 100 tests.
      rollback of pool Registrations
        +++ OK, passed 100 tests:
        87% rolled back some
        77% owner has many pools

Co-authored-by: KtorZ [email protected]

Merge #1165

1165: Provide implementation of selectCoins API function. r=KtorZ a=jonathanknowles

Issue Number

#1136

Overview

This PR:

  • [x] Provides an implementation of the selectCoins API function.
  • [x] Provides an integration test to verify that a singleton payment is included in the output.
  • [x] Provides an integration test to verify that multiple payments are included in the output.
  • [x] Adds an UnsignedTx type to capture the concept of a set of inputs and outputs that are ready to be signed into a real Tx.

Co-authored-by: Jonathan Knowles [email protected]

Merge #1171

1171: Add ‘cost’ and ‘margin’ to stake pools r=KtorZ a=KtorZ

Issue Number

#1090

Overview

  • [x] I have added cost and margin to ‘PoolRegistrationCertificate’ and adjusted Jörmungandr binary decoders to also parse these.
  • [x] I have slightly revised the pool database layer to not store (resp. read) only pool owners, but store (resp. read) registration certificates entirely.
  • [x] I have adjusted the logic from listStakePools to attach cost and margin to each pool
  • [x] I have extended the API types
  • [x] adjusted the swagger file to include these

Comments

Cardano.Pool.DB.Sqlite
  Sqlite
    Stake Pool properties
      putPoolRegistration then readPoolRegistration yields expected result
        +++ OK, passed 100 tests.
      rollback of pool Registrations
        +++ OK, passed 100 tests:
        87% rolled back some
        77% owner has many pools

Co-authored-by: KtorZ [email protected]

Merge #1165 #1171

1165: Provide implementation of selectCoins API function. r=KtorZ a=jonathanknowles

Issue Number

#1136

Overview

This PR:

  • [x] Provides an implementation of the selectCoins API function.
  • [x] Provides an integration test to verify that a singleton payment is included in the output.
  • [x] Provides an integration test to verify that multiple payments are included in the output.
  • [x] Adds an UnsignedTx type to capture the concept of a set of inputs and outputs that are ready to be signed into a real Tx.

1171: Add ‘cost’ and ‘margin’ to stake pools r=KtorZ a=KtorZ

Issue Number

#1090

Overview

  • [x] I have added cost and margin to ‘PoolRegistrationCertificate’ and adjusted Jörmungandr binary decoders to also parse these.
  • [x] I have slightly revised the pool database layer to not store (resp. read) only pool owners, but store (resp. read) registration certificates entirely.
  • [x] I have adjusted the logic from listStakePools to attach cost and margin to each pool
  • [x] I have extended the API types
  • [x] adjusted the swagger file to include these

Comments

Cardano.Pool.DB.Sqlite
  Sqlite
    Stake Pool properties
      putPoolRegistration then readPoolRegistration yields expected result
        +++ OK, passed 100 tests.
      rollback of pool Registrations
        +++ OK, passed 100 tests:
        87% rolled back some
        77% owner has many pools

Co-authored-by: Jonathan Knowles [email protected] Co-authored-by: KtorZ [email protected]

Merge #1165

1165: Provide implementation of selectCoins API function. r=jonathanknowles a=jonathanknowles

Issue Number

#1136

Overview

This PR:

  • [x] Provides an implementation of the selectCoins API function.
  • [x] Provides an integration test to verify that a singleton payment is included in the output.
  • [x] Provides an integration test to verify that multiple payments are included in the output.
  • [x] Adds an UnsignedTx type to capture the concept of a set of inputs and outputs that are ready to be signed into a real Tx.

Co-authored-by: Jonathan Knowles [email protected]