You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`cchost` is removed, and each application now provides its own executable:
15
+
- CCF nodes no longer contain a separate `cchost` executable and enclave library (`.so`) file. Each former enclave library is now its own executable, currently sharing the same set configuration format as the previous `cchost`.
16
+
- The `js_generic` sample app is no longer a library installed at `/ccf/lib/libjs_generic.so`, it is now an executable installed at `/ccf/bin/js_generic`.
17
+
- The `add_ccf_app` function in CMake now builds an executable rather than a library. The caller should provide a `main` function, and call `ccf::run()` from `include/ccf/run.h` to start the node (see `samples/apps/main.cpp` for a minimal example).
18
+
- Application logging no longer traverses the ringbuffer. As current target platforms do not require distinct enclave and host components, what was previously "in-enclave" logging that was deferred via the ringbuffer can now be immediately sent to stdout.
Copy file name to clipboardExpand all lines: doc/architecture/request_flow.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ For deployments where nodes are not directly accessible, redirections can still
187
187
P->>P: Execute request
188
188
P-->>U: 200 OK "Copied {a} from {A} to {B}"
189
189
190
-
To use redirection behaviour, and choose whether to redirect to a node or a load balancer, set the ``redirections`` field in the :doc:`cchost launch configuration </operations/configuration>`.
190
+
To use redirection behaviour, and choose whether to redirect to a node or a load balancer, set the ``redirections`` field in the :doc:`launch configuration </operations/configuration>`.
Copy file name to clipboardExpand all lines: doc/architecture/threading.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Implementation
17
17
Configuration
18
18
~~~~~~~~~~~~~
19
19
20
-
To enable multiple worker threads, the ``worker_threads`` configuration option can be used along with the number of desired threads to ``cchost`` when starting a CCF node.
20
+
To enable multiple worker threads, the ``worker_threads`` configuration option can be set to the number of desired threads when starting a CCF node.
21
21
22
22
It is strongly recommended that all CCF nodes run the same number of worker threads.
23
23
The number of worker threads must be at least 1 less than the value of ``NumTCS`` in the oe_sign.conf file.
Copy file name to clipboardExpand all lines: doc/build_apps/get_started.rst
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ CCF apps can be written in JavaScript/Typescript. To test a JS/TS CCF applicatio
32
32
Build Application
33
33
~~~~~~~~~~~~~~~~~
34
34
35
-
The application building prerequisites [:doc:`CCF </build_apps/install_bin>`, `NodeJS <https://nodejs.org>`__ and `NPM <https://www.npmjs.com>`__] must be installed, all will be preinstalled if you are using the devcontainer environment, otherwise you need to install them manually.
35
+
The application building prerequisites (:doc:`CCF </build_apps/install_bin>`, `NodeJS <https://nodejs.org>`__ and `NPM <https://www.npmjs.com>`__) must be installed, all will be preinstalled if you are using the devcontainer environment, otherwise you need to install them manually.
36
36
37
37
Please follow `ccf-app-template build process <https://github.com/microsoft/ccf-app-template#run-js-app>`__
38
38
@@ -43,22 +43,18 @@ There are several approaches to run and test your application.
43
43
44
44
.. tab:: CCF sandbox
45
45
46
-
- Running the `sandbox.sh` script automatically starts a CCF network and deploys your application on it. The app is up and ready to receive calls and the initial governance steps are done for you
47
-
- Support both ccf network types [virtual - enclave (TEE hardware)]
48
-
- No initial governance steps required
46
+
- Running the `sandbox.sh` script automatically starts a CCF network and deploys your application on it. This will create appropriate configuration files and directory structures, and can be made to print each command for further detail. Once the network is initialised, this will print the node addresses you can use to interact with the service.
- The application can be tested using ``cchost`` and :doc:`CCF config file </operations/configuration>`,
56
-
To Start a test CCF network on a Linux environment, it requires :doc:`CCF to be intalled </build_apps/install_bin>`.
57
-
- Support both ccf network types [virtual - enclave (TEE hardware)]
58
-
- Initial governance steps are required to initialize, deploy your app, and start the network. `check Network governance section <https://github.com/microsoft/ccf-app-template#network-governance>`__
54
+
- The application can be run directly, given a :doc:`CCF config file </operations/configuration>`.
55
+
Some runtime dependencies are required, so ensure that :doc:`CCF is installed </build_apps/install_bin>`.
56
+
- Governance steps are required to :doc:`initialize state, configure your app, and start the network </operations/start_network>`.
59
57
60
-
- Start a CCF network using cchost and :doc:`CCF node config file </operations/configuration>`. please follow `ccf-app-template <https://github.com/microsoft/ccf-app-template#bare-vm>`__
61
-
- The network is started with one node and one member, you need to execute the initial governance steps to initialize the network, `check Network governance section <https://github.com/microsoft/ccf-app-template#network-governance>`__
62
58
63
59
Testing: Application Endpoints
64
60
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -73,7 +69,7 @@ C++ Applications
73
69
74
70
CCF apps can also be written in C++. This offers better performance than JavaScript apps but requires a compilation step and a restart of the CCF node for deployment. please check `ccf-app-template <https://github.com/microsoft/ccf-app-template>`__ repository.
75
71
76
-
The C++ sample app is located in the ```cpp/`` <cpp/>`__ directory.
72
+
The C++ sample app is located in the `cpp/<https://github.com/microsoft/ccf-app-template/tree/main/cpp>`__ directory.
Copy file name to clipboardExpand all lines: doc/contribute/onboarding.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,19 @@ Walk through a sample application
22
22
23
23
The logging application is simple, but exercises most features of the framework, and is extensively used in the end to end tests.
24
24
25
-
To run a locally built copy of this application in a sandbox, see :doc:`/build_apps/run_app`. The package name will be ``samples/apps/logging/liblogging``:
25
+
To run a locally built copy of this application in a sandbox, see :doc:`/build_apps/run_app`. The package name will be ``samples/apps/logging/logging``:
0 commit comments