mirror of https://github.com/poanetwork/quorum.git
This applies spec changes from ethereum/EIPs#1049 and adds support for pluggable identity schemes. Some care has been taken to make the "v4" scheme standalone. It uses public APIs only and could be moved out of package enr at any time. A couple of minor changes were needed to make identity schemes work: - The sequence number is now updated in Set instead of when signing. - Record is now copy-safe, i.e. calling Set on a shallow copy doesn't modify the record it was copied from. |
||
---|---|---|
.. | ||
enr.go | ||
enr_test.go | ||
entries.go | ||
idscheme.go | ||
idscheme_test.go |