[zcash/zcash] Blocking mode for zcash-cli when calling async RPC methods (#3466)

It now takes on the order of a few seconds to make a shielded transaction in Sapling. This is short enough that it would be useful to have a mode in which `zcash-cli` blocks until the outcome is available.

With the current RPC interface this would be implemented by polling on `z_getoperationstatus`/`z_getoperationresult`, but that’s an implementation detail and would not prevent implementing it in some other way in future.

It is an independent decision whether to make this the default for async methods and have a flag to obtain non-blocking behaviour, or the reverse.

Добавить комментарий