Sam Kleinman
|
1c4950dbd2
|
state: move package to internal (#6964)
|
3 years ago |
Sam Kleinman
|
0b0914b3df
|
rpc: remove global environment (#6426)
|
4 years ago |
gotjoshua
|
f563bd4ff1
|
RPC: don't cap page size in unsafe mode (#6329)
|
4 years ago |
Anton Kaliaev
|
ce3c9c2341
|
rpc/core: return an error if `page=0` (#4947)
* rpc/core: return an error if `page=0`
Closes #4942
affected endpoints:
- /validators
- /tx_search
* swagger: update doc for /unconfirmed_txs
|
5 years ago |
Anton Kaliaev
|
379b1b85bc
|
rpc: use a struct to wrap all the global objects
Closes #3433
|
5 years ago |
Anton Kaliaev
|
756440e0a2
|
rpc: return err if page is incorrect (less than 0 or greater than tot… (#3825)
* rpc: return err if page is incorrect (less than 0 or greater than total pages)
Fixes #3813
* fix rpc_test
|
5 years ago |
Anton Kaliaev
|
4daca1a634
|
return maxPerPage (not defaultPerPage) if per_page is greater than max (#3124)
it's more user-friendly.
Refs #3065
|
6 years ago |
Zach Ramsay
|
44dad6d70b
|
Revert "detele everything"
This reverts commit d02c5d1e30 .
|
6 years ago |
Zach Ramsay
|
d02c5d1e30
|
detele everything
|
6 years ago |
Liamsi
|
d2c05bc5b9
|
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
|
6 years ago |
Liamsi
|
96a3502126
|
delete everything
|
6 years ago |
Anton Kaliaev
|
2ce8179c8b
|
validate per_page before page
plus an additional check just in case
Closes #1688
|
7 years ago |
Ethan Buchman
|
6f9867cba6
|
fix validate pagination params
|
7 years ago |