stability fixes on tor

optimize when multisig info imported
fetch updates for tx progress indicators off main thread
add synchronization locks
refactor address entry management
add totalTxFee to process model
prevent same user from taking same offer at same time
set refresh rate to 30s for tor
This commit is contained in:
woodser 2023-04-06 16:51:12 -04:00
parent 36cf91e093
commit 1b753e4f29
33 changed files with 498 additions and 354 deletions

View file

@ -1477,28 +1477,29 @@ message Trade {
string payout_tx_key = 5;
int64 amount = 6;
int64 taker_fee = 8;
int64 take_offer_date = 9;
int64 price = 10;
State state = 11;
PayoutState payout_state = 12;
DisputeState dispute_state = 13;
TradePeriodState period_state = 14;
Contract contract = 15;
string contract_as_json = 16;
bytes contract_hash = 17;
NodeAddress arbitrator_node_address = 18;
NodeAddress mediator_node_address = 19;
string error_message = 20;
string counter_currency_tx_id = 21;
repeated ChatMessage chat_message = 22;
MediationResultState mediation_result_state = 23;
int64 lock_time = 24;
int64 start_time = 25;
NodeAddress refund_agent_node_address = 26;
RefundResultState refund_result_state = 27;
string counter_currency_extra_data = 28;
string asset_tx_proof_result = 29; // name of AssetTxProofResult enum
string uid = 30;
int64 total_tx_fee = 9;
int64 take_offer_date = 10;
int64 price = 11;
State state = 12;
PayoutState payout_state = 13;
DisputeState dispute_state = 14;
TradePeriodState period_state = 15;
Contract contract = 16;
string contract_as_json = 17;
bytes contract_hash = 18;
NodeAddress arbitrator_node_address = 19;
NodeAddress mediator_node_address = 20;
string error_message = 21;
string counter_currency_tx_id = 22;
repeated ChatMessage chat_message = 23;
MediationResultState mediation_result_state = 24;
int64 lock_time = 25;
int64 start_time = 26;
NodeAddress refund_agent_node_address = 27;
RefundResultState refund_result_state = 28;
string counter_currency_extra_data = 29;
string asset_tx_proof_result = 30; // name of AssetTxProofResult enum
string uid = 31;
}
message BuyerAsMakerTrade {