Commit Graph

5995 Commits

Author SHA1 Message Date
Mike Hearn
a67267f562 Minor: add an SMM todo 2016-04-07 19:32:06 +02:00
Mike Hearn
196380a9be Some ProgressTracker improvements 2016-04-07 19:32:06 +02:00
Ross Nicoll
de7e73cff3 Merged in rnicoll-rename (pull request #52)
Rename classes for network map service
2016-04-07 15:56:31 +01:00
Ross Nicoll
345738f7de Rename classes
Rename LegallyIdentifiableNode to NodeInfo, to represent that legally identifiable is not a single concept.

Rename NetworkMapService to NetworkMapCache, as the API exposed is suited to a local cache, not a remote service.
2016-04-07 15:33:13 +01:00
Rick Parker
34940c903b Merged in plt-17-api-server-merge5 (pull request #51)
IRS related protocols and scripts
2016-04-07 15:01:25 +01:00
rick.parker
55265e6115 IRS related protocols and scripts
Additional changes based on feedback

Additional changes based on feedback
2016-04-07 14:56:30 +01:00
Ross Nicoll
c1ebf45834 Merged in rnicoll-typos (pull request #46)
Minor: Fix typo ('amounnt' to 'amount')
2016-04-06 13:16:31 +01:00
Andrius Dagys
c80a00f07e Merged in interpolation (pull request #50)
Added a cubic interpolator
2016-04-06 12:06:34 +01:00
Andrius Dagys
40443f68cb Changed the order of Polynomial coefficients back 2016-04-05 17:40:42 +01:00
Andrius Dagys
b728bd3b9d Changed Polynomial to accept coefficients in reverse order 2016-04-05 16:47:39 +01:00
Andrius Dagys
ec80ddfcd5 Added an interpolator (natural cubic splines) to be used by the interest rate fix oracle for missing data points. 2016-04-05 15:35:47 +01:00
Rick Parker
3f1a035cd1 Merged in plt-131-quasar-suspendables-scanner (pull request #48)
Add Quasar suspendables scanner to gradle build.
2016-04-05 14:00:12 +01:00
sofusmortensen
9561013b65 Replaced class Kryo2 with extension method on Kryo 2016-04-05 01:02:54 +02:00
sofusmortensen
bba0a4a55d Fixed bug in Kryo.useClassLoader
Renamed to AttachmentsClassLoader + autoformat
Added unit test to validate exception being throw when deserializing WireTransaction without contract jar in attachments.
2016-04-05 00:34:46 +02:00
Andrius Dagys
3674a547d5 Minor: Fix typos in documentation 2016-04-04 13:48:13 +01:00
sofusmortensen
88a7406ec9 Merge branch 'master' into dynamic-loading 2016-04-03 13:59:36 +02:00
rick.parker
3b2d236531 Add Quasar suspendables scanner to gradle build. 2016-03-31 16:52:54 +01:00
Mike Hearn
eecdba9e26 Minor: fix "All tests" run config to actually run all tests again, post IJ2016.1 upgrade 2016-03-30 18:54:44 +02:00
Mike Hearn
420ecf80a0 Minor: fix a typo in a variable name, spotted by Rick 2016-03-30 18:50:12 +02:00
Mike Hearn
3adfd02e31 Support injection of latency into the mock (simulated) network. 2016-03-30 18:50:12 +02:00
Mike Hearn
d1e62c27c4 Unit testing: minor refactoring of MockNetwork 2016-03-30 18:50:12 +02:00
Mike Hearn
d1b5ada423 Add a notion of physical location.
This will be useful for various things in future, such as approximating the nearest consensus service (approximate because physical distance doesn't always match network distance), visualisation, simulation, etc.

LegallyIdentifiableNode now lists a physical place for the node to be in (which might not be totally accurate one day if we have super distributed mega-nodes, but will do for now).

The config file allows the admin to specify their nearest city.

There is a city database that can map such names through to coordinates, when known.

There is support for Mercator projection.
2016-03-30 18:50:11 +02:00
Ross Nicoll
366860b2d8 Minor: Fix typo ('amounnt' to 'amount') 2016-03-30 16:13:33 +01:00
Rick Parker
408bcaa505 Merged in plt-17-api-server-merge3 (pull request #42)
Merge all API work excluding new protocols and new node launcher
2016-03-30 16:03:36 +01:00
rick.parker
791022f130 First working commit
First working commit

Formatting clean up

Revert All_tests.xml

Remove extra space

Feedback from code review

First working commit

Revert All_tests.xml

Remove extra space

Feedback from code review
2016-03-30 15:52:01 +01:00
rick.parker
e122a57bf2 First working commit
First working commit

Formatting clean up

Revert All_tests.xml

Remove extra space

Feedback from code review
2016-03-30 15:04:08 +01:00
sofusmortensen
c0e2322414 Added comment on how to handle accidental gradle import in IDEA 2016-03-25 14:56:09 +01:00
sofusmortensen
58a509de63 Merge branch 'master' into dynamic-loading 2016-03-24 13:10:36 +00:00
sofusmortensen
0b8820265e removed couple of warnings 2016-03-24 13:09:04 +00:00
sofusmortensen
1156e5ef52 fixed unit test TwoPartyTradeProtocolTests 2016-03-24 12:36:18 +00:00
sofusmortensen
e5dbf5d2a8 WireTransaction deserialization using AttachmentStorage 2016-03-24 12:06:41 +00:00
sofusmortensen
1344bfd6bb Replaced programRef in ContractState with a simple reference to contract 2016-03-23 17:51:14 +00:00
Richard Green
c450c70f9a Merged in calendar-name-parameter (pull request #43)
Field name request from client
2016-03-23 17:08:30 +00:00
Mike Hearn
e21f61ff10 Minor: add toString methods to progress tracker objects 2016-03-23 16:53:29 +00:00
Mike Hearn
5b7fb86b6b Use TypeSafe Config library instead of Java properties files for the config file format. The default formats are compatible so this should not be disruptive. 2016-03-23 16:49:28 +00:00
rick.parker
a0780c84a7 Made calendars property a string array rather than just string 2016-03-23 13:42:52 +00:00
Richard Green
4167b044a1 Field name request from client 2016-03-23 12:17:30 +00:00
rick.parker
9f7ae4c61d Basic JSON API with servertime call exposed at GET /api/servertime
Global Clock as part of ServiceHub to offer source of time in transactions, protocols, time stamping service etc (can be replace for demos and testing with a Clock that can be externally manipulated)

Edited with Mike's feedback

Edited with Mike's feedback
2016-03-23 09:34:45 +00:00
sofusmortensen
e6ce1e5b76 Fixed unit test with contracts.isolated.jar in classpath when running from IDEA. 2016-03-22 14:48:59 +00:00
sofusmortensen
5d5bcbfb00 Merge branch 'master' into dynamic-loading 2016-03-22 13:37:33 +00:00
sofusmortensen
527b0f4817 Improved unit tests.
Cleaned up project structure a bit.
2016-03-22 12:15:47 +00:00
Richard Green
a0d474f270 Merged in tenor-fixes (pull request #41)
Updated Tenor class, Changed interest rate example to use this class.
2016-03-22 11:47:29 +00:00
Richard Green
6c0e696107 Updated with new Tenor class that verifies string during construction.
Now uses new Tenor class for Interest Rate Oracle
2016-03-22 11:46:06 +00:00
Richard Green
d7d05a2f70 Merged in PLT-15-b (pull request #36)
Neater branch with IRS code.
2016-03-22 11:42:08 +00:00
Richard Green
a78c5b11d1 IRS Contract example 2016-03-22 11:36:40 +00:00
Mike Hearn
b1694e2d0d Move MockNode/InMemoryNetwork to the main sourceset, as these are useful not only for unit testing, but also simulation tools. 2016-03-22 10:54:35 +00:00
Mike Hearn
621c88b93a IJ 2016.1 2016-03-22 10:54:35 +00:00
Mike Hearn
8305304b95 Regen docsite 2016-03-21 16:54:20 +00:00
Mike Hearn
a624ef7ff5 Merge branch 'master' of https://bitbucket.org/R3-CEV/r3prototyping 2016-03-21 16:35:46 +00:00
Mike Hearn
b309de8fb0 Mention the docs website from the README. 2016-03-21 16:35:35 +00:00