Refactor to use BouncyCastle Ed25519/X25519, and more...

Remove old whispersystems, etc. *25519 and use new v1.61 BouncyCastle.

Fix proxy forging private key derivation from X25519 shared secret.
Also include Javascript test version for comparison.

Fix block rewards for proxy forging.

Add extra useful info to API call GET /admin/forgingaccounts.
Fix API response to POST/DELETE /admin/forgingaccounts when
passed invalid private keys.

Added block rewards and account flags to testchain config.

Tests to cover changes above.
This commit is contained in:
catbref
2019-04-17 12:32:03 +01:00
parent 8e74884536
commit d1c547f24a
68 changed files with 1075 additions and 5564 deletions

View File

@@ -7,7 +7,7 @@
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bouncycastle.version>1.60</bouncycastle.version>
<bouncycastle.version>1.61</bouncycastle.version>
<dagger.version>1.2.2</dagger.version>
<hsqldb.version>r5836</hsqldb.version>
<sqltool.version>2.4.1</sqltool.version>