This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
The following commit(s) were added to refs/heads/master by this push:
new 870e0f7 [dos] Fix some typos (#350)
870e0f7 is described below
commit 870e0f7aa476746371fad9151fc8dc8819e5c9df
Author: Qinkun Bao <[email protected]>
AuthorDate: Wed Jun 10 21:38:25 2020 -0400
[dos] Fix some typos (#350)
---
docs/builtin-functions.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/builtin-functions.md b/docs/builtin-functions.md
index cc7c36c..40039ae 100644
--- a/docs/builtin-functions.md
+++ b/docs/builtin-functions.md
@@ -15,9 +15,9 @@ how to add a built-in function to Teaclave step by step with
a "private join and
compute" example.
In this example, consider several banks have names and balance of their
clients.
-These banks want to compute total balance of common clients in their private
-data set without leaking the raw sensitive client data to other parties. This
is
-a perfect usage scenarios of the Teaclave platform, and we will provide a
+These banks want to compute the total balance of common clients in their
private
+data set without leaking the raw sensitive data to other parties. This is
+a perfect usage scenario of the Teaclave platform, and we will provide a
solution by implementing a built-in function in Teaclave.
## Implement Built-in Functions in Rust
@@ -58,7 +58,7 @@ can return a summary of the function execution.
Since the function arguments is in the JSON object format and can be easily
deserialized to a Rust struct with `serde_json`. Therefore, we define a struct
`PrivateJoinAndComputeArguments` which derive the `serde::Deserialize` trait
for
-the conversion. Then implement `TryFrom` trait for the struct to convert the
+the conversion. Then we implement `TryFrom` trait for the struct to convert the
`FunctionArguments` type to the actual `PrivateJoinAndComputeArguments` type.
```rust
@@ -122,5 +122,5 @@ impl TeaclaveExecutor for BuiltinFunctionExecutor {
Finally, we can invoke the function with the client SDK. In our example, we use
the Python client SDK. Basically, this process includes registering
input/output
-files, creating task, approving task, invoking task and getting execution
+files, creating tasks, approving tasks, invoking tasks and getting execution
results. You can see more details in the `examples/python` directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]