AmbireTech / adex-validator-stack-rust

The Ambire AdEx Validator Stack implemented in Rust: sentry, validator worker, adapter, adview manager
https://adex.network
GNU Affero General Public License v3.0
11 stars 10 forks source link

Channel List API endpoint #3

Closed elpiel closed 5 years ago

elpiel commented 5 years ago

Implement the Channel List API Endpoint: https://github.com/AdExNetwork/adex-validator-stack-js/blob/master/routes/channel.js#L84

Current status: Some Channel data is returned. TODOs:

elpiel commented 5 years ago

Implement the fromSql & toSql for BigNum is Done, I've actually used a String representation which should be enough. Later on we can see for a better way of storing it in the Database and implement the ToSql and FromSql traits.

FromSql with String was implemented in https://github.com/AdExNetwork/adex-validator-stack-rust/commit/8f4a9f28598e4b58c7cbb46b2d4b57c310511b5f ToSql with String was implemented in PR #19