Commit Graph

3327 Commits

Author SHA1 Message Date
Richard Green
48137d325b Improved verify() functionality (and associated other updates) for the IRS contract. 2016-05-10 15:33:09 +01:00
Richard Green
62e7dc583e Expanded the verify() function for the IRS Contract 2016-05-10 15:32:08 +01:00
Ross Nicoll
c6fab1c642 Remove superfluous semicolon 2016-05-09 18:16:40 +01:00
Ross Nicoll
2d4c83556e Annotate verify() function to indicate it throws IllegalArgumentException 2016-05-09 18:16:33 +01:00
Ross Nicoll
2e680a5eee Merged in rnicoll-party-and-reference (pull request #87)
Rename PartyReference to PartyAndReference
2016-05-09 17:56:38 +01:00
Ross Nicoll
9ecf430dde Update documentation to match PartyAndReference naming 2016-05-09 17:55:53 +01:00
Ross Nicoll
642b951bae Rename PartyReference to PartyAndReference 2016-05-09 17:55:37 +01:00
Ross Nicoll
2035a7ba54 Merged in rnicoll-cash-issue-only (pull request #83)
Require that a cash Issue command is the only command
2016-05-09 17:17:53 +01:00
Mike Hearn
7499f7cf1f Regen docsite 2016-05-09 18:13:23 +02:00
Richard G Brown
97cb8defd3 Minor edits to data model page and additional section on rationale for UTXO model (including some content from Mike) 2016-05-09 18:12:13 +02:00
Richard G Brown
50e16fb241 Copyright year removed and owner changed from R3 to DLG 2016-05-09 18:08:41 +02:00
Ross Nicoll
252eb141a7 Require that a cash Issue command is the only command
Require that a cash Issue command is the only cash command in a transaction.
Although no problems are anticipated with other commands being present, they
could theoretically confuse other verification tools.
2016-05-09 16:55:44 +01:00
Shams Asari
2e7b004eb5 logger name moved into protocol state machine 2016-05-09 15:32:30 +01:00
Ross Nicoll
20c6be193a Move tutorial.rst to tutorial_contract.rst
Move tutorial.rst to tutorial_contract.rst and rebuild docs
2016-05-09 10:20:40 +01:00
Ross Nicoll
0439cfa572 Merged in rnicoll-docs-style (pull request #85)
Update code style documentation
2016-05-09 09:52:47 +01:00
Ross Nicoll
d1bf1b3f92 Update code style documentation
* Remove out of date instruction to put license text in each file.
* Add note that where parameters overflow first line, they should be one-per-line
* Add note on how TODO comments should be structured
2016-05-06 14:59:40 +01:00
Shams Asari
66eec9c2b2 cleanup of use of messaging service 2016-05-06 10:10:39 +01:00
Matthew Nesbit
5a4309abf0 Fix node lock to work on windows where automatic file deletion on exit does not work reliably. 2016-05-06 10:06:34 +01:00
Rick Parker
8fdfed9392 Merged in mnesbit-quasar-0.7.5-released (pull request #81)
The quasar 0.7.5-SNAPSHOT version has been removed from the Maven Repositories. The official 0.7.5 version has replaced it.
2016-05-05 15:54:58 +01:00
Matthew Nesbit
2e7f3a2017 The quasar 0.7.5-SNAPSHOT version has been removed from the Maven Repositories. The official 0.7.5 version has replaced it. 2016-05-05 14:42:56 +01:00
Ross Nicoll
a5b5ceeb9b Merged in rnicoll-cash-common (pull request #75)
Refactor verification of cash contract
2016-05-05 11:14:46 +01:00
Ross Nicoll
a205475ef0 Move cash contract Issue instruction verification into its own function 2016-05-05 11:12:58 +01:00
Ross Nicoll
73f4803b72 Move common move command verification into a shared function 2016-05-05 11:12:25 +01:00
Ross Nicoll
0730a4a8c1 Merged in rnicoll-fix-trader-demo (pull request #80)
Correct TraderDemo after network map changes
2016-05-04 17:53:21 +01:00
Ross Nicoll
e433663875 Correct TraderDemo after network map changes
Script to run TraderDemo now specified network map service rather than timestamper service.
TraderDemo now explicitly states the services it needs to run. Previously this was implied by whether a timestamper service was specified, and the code was not updated when that change was made.
2016-05-04 17:45:00 +01:00
Mike Hearn
5eaf86a4b1 Docs: (Re)push auto generated API docs 2016-04-29 18:46:25 +02:00
Mike Hearn
5a3c6e7fed Regen docsite 2016-04-29 18:46:24 +02:00
Mike Hearn
b120ce9fe1 Docs: extend section of contracts tutorial on grouping 2016-04-29 18:46:24 +02:00
Ross Nicoll
662d0f1494 Merged in rnicoll-docs-nms-fix (pull request #77)
Complete sentence on why nodes are not removed from network map automatically
2016-04-29 17:05:48 +01:00
Ross Nicoll
17015846d6 Complete sentence on why nodes are not removed from network map automatically 2016-04-29 16:23:16 +01:00
Ross Nicoll
f0fc18fe21 Merged in rnicoll-cleanup (pull request #74)
Split internal/external services
2016-04-29 15:13:59 +01:00
Ross Nicoll
5ab3756ac2 Merged in rnicoll-docs-building (pull request #73)
Add tutorial on building documentation
2016-04-28 17:45:19 +01:00
Ross Nicoll
31da33425e Rebuild user documentation 2016-04-28 17:44:33 +01:00
Ross Nicoll
c13b5f247e Add tutorial on building documentation 2016-04-28 17:44:33 +01:00
Ross Nicoll
f0a9c5f7b2 Document network map service 2016-04-28 17:44:32 +01:00
Ross Nicoll
9518257211 Merged in rnicoll-nms-docs (pull request #72)
Document network map service
2016-04-28 17:12:47 +01:00
Ross Nicoll
8d7a439246 Document network map service 2016-04-28 17:12:06 +01:00
Ross Nicoll
7a0300f024 Split internal/external services
This patch splits internal services (to be referred to as "subsystems") from
external services (retaining the label "services"). This makes it clear which
are components of the node for its own use (such as the identity subsystem,
network map cache, wallet, etc.) and which are exposed for other nodes to use.

Further work is needed on consistency in naming, this just introduces the basic
restructuring.
2016-04-28 13:15:14 +01:00
Ross Nicoll
e11ce06b87 Minor: Move service tests into code.node.services package 2016-04-28 09:39:04 +01:00
Ross Nicoll
821efd91bb Merged in rnicoll-network-map-service (pull request #57)
Add NetworkMapService
2016-04-27 16:41:17 +01:00
Ross Nicoll
147f8f37ce Enable network map service 2016-04-27 16:39:33 +01:00
Ross Nicoll
00a2088fa5 Add in-node network map service 2016-04-27 16:33:54 +01:00
Ross Nicoll
5134dd4bbc Add advertised services to AbstractNode and subclasses 2016-04-27 16:26:57 +01:00
Ross Nicoll
8a42da5362 Add network map service 2016-04-27 16:26:57 +01:00
Ross Nicoll
44054c47f8 Add InMemoryNetworkMapCache 2016-04-27 16:26:57 +01:00
Shams Asari
0575bcc959 Sending message to self no longer goes into continuous loop 2016-04-27 14:50:07 +01:00
Ross Nicoll
47401a2a28 Merged in rnicoll-signed-data (pull request #69)
Add SignedData class
2016-04-27 13:16:42 +01:00
Ross Nicoll
7c9cff799e Add SignedData class
Adds a new SignedData class which will provide a deserialized copy of the data
contained only if the signature on it is valid.
2016-04-27 13:16:01 +01:00
Ross Nicoll
120f99f0a6 Merged in rnicoll-remove-deregister-identity (pull request #70)
Remove deregisterIdentity()
2016-04-27 13:13:21 +01:00
Ross Nicoll
c8865c1b40 Remove deregisterIdentity()
Remove the ability to remove registered identities. Once registered, identities are part
of a permanent record (for example you would want to ensure parties to contracts cannot
"disappear" by removing themselves from the identity service).
2016-04-27 11:43:10 +01:00