List of commits:
Subject Hash Author Date (UTC)
util db7db2d7fcccbb320f7c041272a0f708f846d850 GDR! 2017-11-09 20:30:47
Working ping 090854611163edc23aec1b460b285770c6f5b806 GDR! 2017-11-09 20:30:37
Initial 5492ec94c8cab618b3e617e0ac2f8d5b27335f83 GDR! 2017-11-09 17:41:55
Commit db7db2d7fcccbb320f7c041272a0f708f846d850 - util
Author: GDR!
Author date (UTC): 2017-11-09 20:30
Committer name: GDR!
Committer date (UTC): 2017-11-09 20:30
Parent(s): 090854611163edc23aec1b460b285770c6f5b806
Signing key:
Tree: 9a7f45953a6a32585d947b831e4af39a54970f7f
File Lines added Lines deleted
util.py 10 0
File util.py added (mode: 100644) (index 0000000..12c1bec)
1 #!/usr/bin/python3
2
3 def increment_nonce(nonce):
4 """
5 Increment a big-endian nonce stored in bytes object
6 """
7 i = int.from_bytes(nonce, byteorder='big')
8 i += 1
9 return i.to_bytes(byteorder='big', length=24)
10
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/gdr/PurePyTox

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/gdr/PurePyTox

Clone this repository using git:
git clone git://git.rocketgit.com/user/gdr/PurePyTox

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main