Author | SHA1 | Message | Date |
---|---|---|---|
Marko |
7b52f51700
|
libs/common: Refactor libs/common 5 (#4240)
* libs/common: Refactor libs/common 5 - move mathematical functions and types out of `libs/common` to math pkg - move net functions out of `libs/common` to net pkg - move string functions out of `libs/common` to strings pkg - move async functions out of `libs/common` to async pkg - move bit functions out of `libs/common` to bits pkg - move cmap functions out of `libs/common` to cmap pkg - move os functions out of `libs/common` to os pkg Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * fix testing issues * fix tests closes #41417 woooooooooooooooooo kill the cmn pkg Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * add changelog entry * fix goimport issues * run gofmt |
5 years ago |
Phil Salant | bc572217c0 |
Fix linter errors thrown by `lll` (#3970)
* Fix long line errors in abci, crypto, and libs packages * Fix long lines in p2p and rpc packages * Fix long lines in abci, state, and tools packages * Fix long lines in behaviour and blockchain packages * Fix long lines in cmd and config packages * Begin fixing long lines in consensus package * Finish fixing long lines in consensus package * Add lll exclusion for lines containing URLs * Fix long lines in crypto package * Fix long lines in evidence package * Fix long lines in mempool and node packages * Fix long lines in libs package * Fix long lines in lite package * Fix new long line in node package * Fix long lines in p2p package * Ignore gocritic warning * Fix long lines in privval package * Fix long lines in rpc package * Fix long lines in scripts package * Fix long lines in state package * Fix long lines in tools package * Fix long lines in types package * Enable lll linter |
5 years ago |
Dev Ojha | d0dcb1cde1 |
cmap: Remove defers (#2210)
All functions in cmap have just one code path. Thus there is not a reason to use defer statements. |
6 years ago |
Zach Ramsay | 44dad6d70b |
Revert "detele everything"
This reverts commit
|
7 years ago |
Zach Ramsay | d02c5d1e30 | detele everything | 7 years ago |
Ethan Buchman | ae3bf81833 | mv tmlibs files to libs dir | 7 years ago |
Anton Kaliaev |
b658294a13
|
use assert.Contains in cmap_test | 7 years ago |
Wolf | 88481fc363 |
Make iterating over keys possible (#63)
* Make iterating over keys possible * add test for cmap - test Keys() and Values() respectively * one cmap per test-case |
7 years ago |