c0103 changes to constants

Conflicts:
	node/dht.py

fixes

will squash this later

missing import
Merge pull request #1108 from davalb/c0103-fixes-2

C0103 fixes 2