Fix docs to reflect future date change. Add Kryo registration of PaymentEvent classes.

This commit is contained in:
Katarzyna Streich 2017-01-06 11:03:28 +00:00 committed by kasiastreich
parent 9a75adb0ab
commit 17beab06c2
2 changed files with 4 additions and 2 deletions

View File

@ -64,10 +64,10 @@ on a simulated clock passes.
To run from the command line in Unix:
1. Run ``./gradlew samples:irs-demo:deployNodes`` to install configs and a command line tool under ``samples/irs-demo/build``
1. Run ``./gradlew samples:irs-demo:deployNodes`` to install configs and a command line tool under ``samples/irs-demo/build``.
2. Run ``./gradlew samples:irs-demo:installDist``
3. Move to the ``samples/irs-demo/build`` directory
4. Run ``./nodes/runnodes`` to open up three new terminals with the three nodes
4. Run ``./nodes/runnodes`` to open up three new terminals with the three nodes (you may have to install xterm).
5. Run ``./install/irs-demo/bin/irs-demo --role UploadRates``. You should see a
message be printed to the first node (the notary/oracle/network map node) saying that it has accepted the new
interest rates

View File

@ -58,6 +58,8 @@ class IRSPlugin : CordaPluginRegistry() {
register(DateRollConvention::class.java)
register(LocalDate::class.java)
register(FixingFlow.FixingSession::class.java)
register(FixedRatePaymentEvent::class.java)
register(FloatingRatePaymentEvent::class.java)
}
return true
}