add documentation; src/NonceGen.h: remove redundant function declarations