| 728 | } |
| 729 | |
| 730 | void ProxyRunner::worker_to_db(ProxyWorkerInfo &worker) { |
| 731 | auto key = PSTRING() << "worker_" << worker.worker_owner_address().rserialize(true); |
| 732 | auto value = cocoon::serialize_tl_object(worker.serialize(), true); |
| 733 | set_to_db(key, value.as_slice()); |
| 734 | worker.written_to_db(); |
| 735 | } |
| 736 | |
| 737 | void ProxyRunner::config_to_db(std::shared_ptr<RunnerConfig> config) { |
| 738 | std::vector<ton::tl_object_ptr<cocoon_api::proxyDb_pendingBlockchainSeqnoCommit>> seq_commits; |
nothing calls this directly
no test coverage detected