Shamapnode

This fixes https://ripplelabs.atlassian.net/browse/RIPD-311
Seems to me that you could delete this altogether and just use a C++11 for statement in line 362 with auto...