sync() function returns percentage of synchronized nodes, it also accepts optional 'quiet' argument
Merge pull request #7 from mplonka/master

improvements to sync()