Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.2.0 #3532

Merged
merged 85 commits into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
9df536f
New trade protocol (#3333)
chimp1984 Sep 27, 2019
0b88094
Signed witness trading (#3334)
sqrrm Sep 27, 2019
c0cf83b
Improve witness handling (#3342)
sqrrm Sep 30, 2019
98402a7
Complete new trade protocol (#3340)
chimp1984 Sep 30, 2019
c7e4262
Use account signing state in accounts view (#3365)
ripcurlx Oct 4, 2019
7b2216f
Test self signing witnesses
sqrrm Oct 5, 2019
9bfe135
Merge pull request #3368 from sqrrm/witness-signing-test
ripcurlx Oct 7, 2019
a386da8
Change verified account limit factor to 0.5
sqrrm Oct 7, 2019
b714c83
Account Signing: Add information popups for signing state (#3374)
ripcurlx Oct 9, 2019
cda5dcc
Account Signing: Improve signed state notificaton (#3388)
ripcurlx Oct 10, 2019
901fb95
Fix account signing state in offer book (#3390)
ripcurlx Oct 10, 2019
526fef9
Account Signing: Fix verified usage (#3392)
sqrrm Oct 12, 2019
dc047ef
Merge pull request #3370 from sqrrm/change-verified-limit
ripcurlx Oct 14, 2019
2fae05c
Account signing: add signing state to payment account selection (#3403)
ripcurlx Oct 14, 2019
8e45a07
Account signing: revert dev date setting for trusted accounts (#3404)
ripcurlx Oct 14, 2019
3c23ad9
Add trade limit exceptions (#3406)
sqrrm Oct 14, 2019
8c41a19
Update translations to adapt to new unified delay (#3409)
ripcurlx Oct 15, 2019
1ed122c
NTP: Fix a couple of UI issues in the New Trade Protocol (#3410)
ripcurlx Oct 15, 2019
2ae47f6
NTP: Improve differentiation between mediation and new arbitration (#…
ripcurlx Oct 16, 2019
b979d3e
Don't sign filtered accounts
sqrrm Oct 16, 2019
484eb86
Merge pull request #3415 from sqrrm/exclude-banned-accounts
ripcurlx Oct 17, 2019
e26541e
NTP: merge with master (#3420)
ripcurlx Oct 17, 2019
c1f79d3
Account Signing: Improve arbitrator signing flow (#3421)
ripcurlx Oct 17, 2019
c5feccc
Show connected Bitcoin network peer info
devinbileck Jun 3, 2019
c98396a
List Ndau (XND)
coriolinus Aug 19, 2019
fe332bf
List Animecoin (ANI)
Sep 28, 2019
1cac336
Apply rule to not allow BSQ outputs after BTC output for regular txs …
chimp1984 Oct 21, 2019
1781a7a
Update account signing strings for v1.2 release (#3435)
Oct 21, 2019
79bd3da
Account Signing/NTP: More improvements and fixes (#3436)
ripcurlx Oct 22, 2019
94f33d2
Fix bug with not updating vote result table at vote result block
chimp1984 Oct 23, 2019
8b9415f
NTP: improve backwards compatibility for mediation (#3439)
ripcurlx Oct 23, 2019
e0f0cf3
Merge pull request #3442 from chimp1984/fix-vote-result-view-update
ripcurlx Oct 23, 2019
1b3f7ae
Use correct formatter and add missing value for placeholder
ripcurlx Oct 23, 2019
2590082
Merge pull request #3445 from ripcurlx/fix-wrong-formatter
ripcurlx Oct 23, 2019
5d0a068
Bump version number
ripcurlx Oct 23, 2019
d591763
Add sign all checkbox. Fix list entry display (#3450)
chimp1984 Oct 23, 2019
f0242bf
Use safe version for seednodes (#3452)
chimp1984 Oct 23, 2019
ea94cf0
Arbitrator republish signedWitnesses on startup (#3448)
sqrrm Oct 24, 2019
cd4cd39
Improve new feature popup for ntp and account signing (#3453)
ripcurlx Oct 24, 2019
62bc004
Do not commit delayedPayoutTx to avoid publishing at restart
chimp1984 Oct 25, 2019
e1c1dd8
Merge pull request #3464 from chimp1984/fix-publishing-of-time-locked-tx
ripcurlx Oct 25, 2019
7bd14e1
[1.2.0] Update client resources (#3456)
ripcurlx Oct 25, 2019
ebf46dc
[1.2.0] Improve new feature popup (#3465)
ripcurlx Oct 25, 2019
68bdee1
Add Raspberry Pi to build process (#3466)
ripcurlx Oct 25, 2019
05135a5
Update informational prompt upon creating fiat account with account s…
ripcurlx Oct 25, 2019
8dafbde
Set delayedPayoutTxBytes when setting delayedPayoutTx
chimp1984 Oct 26, 2019
fee17a9
Minor updates (#3474)
devinbileck Oct 26, 2019
7b7f18e
Update RECIPIENT_BTC_ADDRESS for regtest (#3478)
devinbileck Oct 26, 2019
8a000c1
Remove btc nodes from Manfred Karrer (#3480)
chimp1984 Oct 26, 2019
18c1333
Avoid null objects (#3481)
chimp1984 Oct 27, 2019
0d34fed
Display appropriate account age info header
sqrrm Oct 27, 2019
a7a58da
Set amount for delayed payout tx to 0 (#3471)
chimp1984 Oct 27, 2019
b9dbf8f
Merge pull request #3490 from sqrrm/account-age-info
ripcurlx Oct 27, 2019
09e68fa
Check for result phase at activate method
chimp1984 Oct 28, 2019
f9b0a8a
Only show warning for risky payment menthods (#3497)
ripcurlx Oct 28, 2019
07c6264
Fix style issues with dark mode (#3495)
ripcurlx Oct 28, 2019
bc2ca8d
Addresses issues mentioned in https://github.com/bisq-network/bisq/is…
ripcurlx Oct 28, 2019
16dda95
Clean up trade statistics from duplicate entries (#3476)
chimp1984 Oct 28, 2019
342e2c5
Change unsigned to N/A
ripcurlx Oct 28, 2019
944eade
[1.2.0] Update data stores and adding SignedWitnessStore (#3494)
ripcurlx Oct 28, 2019
addeae5
VoteResultView update results on any block in result phase
sqrrm Oct 28, 2019
3a1dcfb
Merge pull request #3475 from chimp1984/fix-missing-setting-of-delaye…
ripcurlx Oct 28, 2019
a5ab477
Merge pull request #3500 from sqrrm/fix-voteresultview
ripcurlx Oct 28, 2019
384766b
Merge pull request #3499 from ripcurlx/set-unsigned-to-na
ripcurlx Oct 28, 2019
66d3f91
[1.2.0] Format maker fee for BTC and BSQ correctly (#3498)
ripcurlx Oct 28, 2019
65703d5
Only automatically open popup if result wasn't accepted and disable a…
ripcurlx Oct 29, 2019
9c4c5ca
Fix tradestatistics (#3469)
chimp1984 Oct 29, 2019
35f413a
Update translations
ripcurlx Oct 29, 2019
4b4cf28
[1.2.0] Improve dispute section (#3504)
ripcurlx Oct 29, 2019
b1d6ec4
Revert to SNAPSHOT version
ripcurlx Oct 29, 2019
95d7dd8
Fix but with initialRequestApplied (#3512)
chimp1984 Oct 29, 2019
32edb50
Fix resource name (#3514)
sqrrm Oct 29, 2019
908eeea
Remove minor version number in news popup
ripcurlx Oct 30, 2019
74f040e
Fix copy SignedWitnessStore db script
ripcurlx Oct 30, 2019
aff01be
Not show payment account details for blocked offers
ripcurlx Oct 18, 2019
7566dc9
Use age of accountAgeWitness as basis for sell limits
sqrrm Oct 30, 2019
ee92f01
Merge pull request #3518 from sqrrm/use-account-age-for-sellers
ripcurlx Oct 30, 2019
30f2e7c
Bump version number
ripcurlx Oct 30, 2019
3087a27
Revert to SNAPSHOT version
ripcurlx Oct 30, 2019
98cd6c4
Merge v1.2.0/v1.2.1 with master (#3521)
ripcurlx Oct 30, 2019
ce0c745
Add CapabilityRequiringPayload to TradeStatistics2
chimp1984 Oct 30, 2019
42fcee4
Merge pull request #3525 from chimp1984/add-capability-to-tradestats
ripcurlx Oct 30, 2019
9f35383
Fix tradestat hash issue (#3529)
chimp1984 Oct 31, 2019
f7c00a9
Temporarily remove this part of the statistics
ripcurlx Oct 31, 2019
0c785a9
Merge branch 'master' of github.com:bisq-network/bisq into release/v1…
ripcurlx Oct 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ configure(project(':desktop')) {
apply plugin: 'witness'
apply from: '../gradle/witness/gradle-witness.gradle'

version = '1.1.7-SNAPSHOT'
version = '1.2.1-SNAPSHOT'

mainClassName = 'bisq.desktop.app.BisqAppMain'

Expand Down
7 changes: 4 additions & 3 deletions common/src/main/java/bisq/common/app/Capability.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ public enum Capability {
RECEIVE_BSQ_BLOCK, // Signaling that node which wants to receive BSQ blocks (DAO lite node)
@Deprecated DAO_STATE, // Not required anymore as no old clients out there not having that support

//TODO can be set deprecated after v1.1.6 as we enforce update there
BUNDLE_OF_ENVELOPES, // Supports bundling of messages if many messages are sent in short interval
@Deprecated BUNDLE_OF_ENVELOPES, // Supports bundling of messages if many messages are sent in short interval

SIGNED_ACCOUNT_AGE_WITNESS, // Supports the signed account age witness feature
MEDIATION // Supports mediation feature
MEDIATION, // Supports mediation feature
REFUND_AGENT, // Supports refund agents
TRADE_STATISTICS_HASH_UPDATE // We changed the hash method in 1.2.0 and that requires update to 1.2.2 for handling it correctly, otherwise the seed nodes have to process too much data.
}
7 changes: 4 additions & 3 deletions common/src/main/java/bisq/common/app/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Version {
// VERSION = 0.5.0 introduces proto buffer for the P2P network and local DB and is a not backward compatible update
// Therefore all sub versions start again with 1
// We use semantic versioning with major, minor and patch
public static final String VERSION = "1.1.7";
public static final String VERSION = "1.2.1";

public static int getMajorVersion(String version) {
return getSubVersion(version, 0);
Expand Down Expand Up @@ -73,7 +73,7 @@ private static int getSubVersion(String version, int index) {
// The version no. for the objects sent over the network. A change will break the serialization of old objects.
// If objects are used for both network and database the network version is applied.
// VERSION = 0.5.0 -> P2P_NETWORK_VERSION = 1
@SuppressWarnings("ConstantConditions")
// With version 1.2.1 we change to version 2 (new trade protocol)
public static final int P2P_NETWORK_VERSION = 1;

// The version no. of the serialized data stored to disc. A change will break the serialization of old objects.
Expand All @@ -84,7 +84,8 @@ private static int getSubVersion(String version, int index) {
// A taker will check the version of the offers to see if his version is compatible.
// Offers created with the old version will become invalid and have to be canceled.
// VERSION = 0.5.0 -> TRADE_PROTOCOL_VERSION = 1
public static final int TRADE_PROTOCOL_VERSION = 1;
// Version 1.2.1 -> TRADE_PROTOCOL_VERSION = 2
public static final int TRADE_PROTOCOL_VERSION = 2;
private static int p2pMessageVersion;

public static final String BSQ_TX_VERSION = "1";
Expand Down
133 changes: 110 additions & 23 deletions common/src/main/proto/pb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ message NetworkEnvelope {
CloseConnectionMessage close_connection_message = 15;
PrefixedSealedAndSignedMessage prefixed_sealed_and_signed_message = 16;

PayDepositRequest pay_deposit_request = 17;
PublishDepositTxRequest publish_deposit_tx_request = 18;
DepositTxPublishedMessage deposit_tx_published_message = 19;
InputsForDepositTxRequest inputs_for_deposit_tx_request = 17;
InputsForDepositTxResponse inputs_for_deposit_tx_response = 18;
DepositTxMessage deposit_tx_message = 19;
CounterCurrencyTransferStartedMessage counter_currency_transfer_started_message = 20;
PayoutTxPublishedMessage payout_tx_published_message = 21;

Expand Down Expand Up @@ -70,6 +70,11 @@ message NetworkEnvelope {
BundleOfEnvelopes bundle_of_envelopes = 43;
MediatedPayoutTxSignatureMessage mediated_payout_tx_signature_message = 44;
MediatedPayoutTxPublishedMessage mediated_payout_tx_published_message = 45;

DelayedPayoutTxSignatureRequest delayed_payout_tx_signature_request = 46;
DelayedPayoutTxSignatureResponse delayed_payout_tx_signature_response = 47;
DepositTxAndDelayedPayoutTxMessage deposit_tx_and_delayed_payout_tx_message = 48;
PeerPublishedDelayedPayoutTxMessage peer_published_delayed_payout_tx_message = 49;
}
}

Expand Down Expand Up @@ -144,6 +149,7 @@ message OfferAvailabilityResponse {
string uid = 4;
NodeAddress arbitrator = 5;
NodeAddress mediator = 6;
NodeAddress refund_agent = 7;
}

message RefreshOfferMessage {
Expand Down Expand Up @@ -197,7 +203,7 @@ message PrefixedSealedAndSignedMessage {

// trade

message PayDepositRequest {
message InputsForDepositTxRequest {
string trade_id = 1;
NodeAddress sender_node_address = 2;
int64 trade_amount = 3;
Expand All @@ -221,9 +227,11 @@ message PayDepositRequest {
string uid = 21;
bytes account_age_witness_signature_of_offer_id = 22;
int64 current_date = 23;
repeated NodeAddress accepted_refund_agent_node_addresses = 24;
NodeAddress refund_agent_node_address = 25;
}

message PublishDepositTxRequest {
message InputsForDepositTxResponse {
string trade_id = 1;
PaymentAccountPayload maker_payment_account_payload = 2;
string maker_account_id = 3;
Expand All @@ -237,13 +245,42 @@ message PublishDepositTxRequest {
string uid = 11;
bytes account_age_witness_signature_of_prepared_deposit_tx = 12;
int64 current_date = 13;
int64 lock_time = 14;
}

message DepositTxPublishedMessage {
string trade_id = 1;
bytes deposit_tx = 2;
message DelayedPayoutTxSignatureRequest {
string uid = 1;
string trade_id = 2;
NodeAddress sender_node_address = 3;
bytes delayed_payout_tx = 4;
}

message DelayedPayoutTxSignatureResponse {
string uid = 1;
string trade_id = 2;
NodeAddress sender_node_address = 3;
bytes delayed_payout_tx_signature = 4;
}

message DepositTxAndDelayedPayoutTxMessage {
string uid = 1;
string trade_id = 2;
NodeAddress sender_node_address = 3;
bytes deposit_tx = 4;
bytes delayed_payout_tx = 5;
}

message DepositTxMessage {
string uid = 1;
string trade_id = 2;
NodeAddress sender_node_address = 3;
bytes deposit_tx = 4;
}

message PeerPublishedDelayedPayoutTxMessage {
string uid = 1;
string trade_id = 2;
NodeAddress sender_node_address = 3;
string uid = 4;
}

message CounterCurrencyTransferStartedMessage {
Expand Down Expand Up @@ -279,8 +316,8 @@ message MediatedPayoutTxPublishedMessage {

message MediatedPayoutTxSignatureMessage {
string uid = 1;
bytes tx_signature = 2;
string trade_id = 3;
bytes tx_signature = 2;
NodeAddress sender_node_address = 4;
}

Expand All @@ -290,6 +327,7 @@ enum SupportType {
ARBITRATION = 0;
MEDIATION = 1;
TRADE = 2;
REFUND = 3;
}

message OpenNewDisputeMessage {
Expand Down Expand Up @@ -431,7 +469,7 @@ message Peer {
message PubKeyRing {
bytes signature_pub_key_bytes = 1;
bytes encryption_pub_key_bytes = 2;
reserved 3; // WAS: string pgp_pub_key_as_pem = 3;
reserved 3; // WAS: string pgp_pub_key_as_pem = 3;
}

message SealedAndSigned {
Expand All @@ -457,6 +495,7 @@ message StoragePayload {
MailboxStoragePayload mailbox_storage_payload = 6;
OfferPayload offer_payload = 7;
TempProposalPayload temp_proposal_payload = 8;
RefundAgent refund_agent = 9;
}
}

Expand Down Expand Up @@ -550,6 +589,18 @@ message Mediator {
map<string, string> extra_data = 9;
}

message RefundAgent {
NodeAddress node_address = 1;
repeated string language_codes = 2;
int64 registration_date = 3;
string registration_signature = 4;
bytes registration_pub_key = 5;
PubKeyRing pub_key_ring = 6;
string email_address = 7;
string info = 8;
map<string, string> extra_data = 9;
}

message Filter {
repeated string banned_node_address = 1;
repeated string banned_offer_ids = 2;
Expand All @@ -568,6 +619,7 @@ message Filter {
string disable_dao_below_version = 15;
string disable_trade_below_version = 16;
repeated string mediators = 17;
repeated string refundAgents = 18;
}

// not used anymore from v0.6 on. But leave it for receiving TradeStatistics objects from older
Expand Down Expand Up @@ -670,8 +722,14 @@ message AccountAgeWitness {
}

message SignedWitness {
bool signed_by_arbitrator = 1;
bytes witness_hash = 2;
enum VerificationMethod {
PB_ERROR = 0;
ARBITRATOR = 1;
TRADE = 2;
}

VerificationMethod verification_method = 1;
bytes account_age_witness_hash = 2;
bytes signature = 3;
bytes signer_pub_key = 4;
bytes witness_owner_pub_key = 5;
Expand Down Expand Up @@ -708,6 +766,9 @@ message Dispute {
bool is_closed = 21;
DisputeResult dispute_result = 22;
string dispute_payout_tx_id = 23;
SupportType support_type = 24;
string mediators_dispute_result = 25;
string delayed_payout_tx_id = 26;
}

message Attachment {
Expand Down Expand Up @@ -759,7 +820,7 @@ message Contract {
int64 trade_amount = 2;
int64 trade_price = 3;
string taker_fee_tx_id = 4;
NodeAddress arbitrator_node_address = 5;
reserved 5; // WAS: arbitrator_node_address
bool is_buyer_maker_and_seller_taker = 6;
string maker_account_id = 7;
string taker_account_id = 8;
Expand All @@ -774,6 +835,8 @@ message Contract {
bytes maker_multi_sig_pub_key = 17;
bytes taker_multi_sig_pub_key = 18;
NodeAddress mediator_node_address = 19;
int64 lock_time = 20;
NodeAddress refund_agent_node_address = 21;
}

message RawTransactionInput {
Expand All @@ -793,6 +856,7 @@ enum AvailabilityResult {
NO_MEDIATORS = 7;
USER_IGNORED = 8;
MISSING_MANDATORY_CAPABILITY = 9;
NO_REFUND_AGENTS = 10;
}

///////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -1074,6 +1138,7 @@ message PersistableEnvelope {
UnconfirmedBsqChangeOutputList unconfirmed_bsq_change_output_list = 27;
SignedWitnessStore signed_witness_store = 28;
MediationDisputeList mediation_dispute_list = 29;
RefundDisputeList refund_dispute_list = 30;
}
}

Expand Down Expand Up @@ -1198,6 +1263,7 @@ message OpenOffer {
State state = 2;
NodeAddress arbitrator_node_address = 3;
NodeAddress mediator_node_address = 4;
NodeAddress refund_agent_node_address = 5;
}

message Tradable {
Expand All @@ -1220,13 +1286,13 @@ message Trade {
MAKER_STORED_IN_MAILBOX_PUBLISH_DEPOSIT_TX_REQUEST = 5;
MAKER_SEND_FAILED_PUBLISH_DEPOSIT_TX_REQUEST = 6;
TAKER_RECEIVED_PUBLISH_DEPOSIT_TX_REQUEST = 7;
TAKER_PUBLISHED_DEPOSIT_TX = 8;
TAKER_SENT_DEPOSIT_TX_PUBLISHED_MSG = 9;
TAKER_SAW_ARRIVED_DEPOSIT_TX_PUBLISHED_MSG = 10;
TAKER_STORED_IN_MAILBOX_DEPOSIT_TX_PUBLISHED_MSG = 11;
TAKER_SEND_FAILED_DEPOSIT_TX_PUBLISHED_MSG = 12;
MAKER_RECEIVED_DEPOSIT_TX_PUBLISHED_MSG = 13;
MAKER_SAW_DEPOSIT_TX_IN_NETWORK = 14;
SELLER_PUBLISHED_DEPOSIT_TX = 8;
SELLER_SENT_DEPOSIT_TX_PUBLISHED_MSG = 9;
SELLER_SAW_ARRIVED_DEPOSIT_TX_PUBLISHED_MSG = 10;
SELLER_STORED_IN_MAILBOX_DEPOSIT_TX_PUBLISHED_MSG = 11;
SELLER_SEND_FAILED_DEPOSIT_TX_PUBLISHED_MSG = 12;
BUYER_RECEIVED_DEPOSIT_TX_PUBLISHED_MSG = 13;
BUYER_SAW_DEPOSIT_TX_IN_NETWORK = 14;
DEPOSIT_CONFIRMED_IN_BLOCK_CHAIN = 15;
BUYER_CONFIRMED_IN_UI_FIAT_PAYMENT_INITIATED = 16;
BUYER_SENT_FIAT_PAYMENT_INITIATED_MSG = 17;
Expand Down Expand Up @@ -1266,6 +1332,9 @@ message Trade {
MEDIATION_REQUESTED = 5;
MEDIATION_STARTED_BY_PEER = 6;
MEDIATION_CLOSED = 7;
REFUND_REQUESTED = 8;
REFUND_REQUEST_STARTED_BY_PEER = 9;
REFUND_REQUEST_CLOSED = 10;
}

enum TradePeriodState {
Expand Down Expand Up @@ -1305,6 +1374,11 @@ message Trade {
string counter_currency_tx_id = 28;
repeated ChatMessage chat_message = 29;
MediationResultState mediation_result_state = 30;
int64 lock_time = 31;
bytes delayed_payout_tx_bytes = 32;
NodeAddress refund_agent_node_address = 33;
PubKeyRing refund_agent_pub_key_ring = 34;
RefundResultState refund_result_state = 35;
}

message BuyerAsMakerTrade {
Expand All @@ -1330,8 +1404,8 @@ message ProcessModel {
PubKeyRing pub_key_ring = 4;
string take_offer_fee_tx_id = 5;
bytes payout_tx_signature = 6;
repeated NodeAddress taker_accepted_arbitrator_node_addresses = 7;
repeated NodeAddress taker_accepted_mediator_node_addresses = 8;
reserved 7; // Not used anymore
reserved 8; // Not used anymore
bytes prepared_deposit_tx = 9;
repeated RawTransactionInput raw_transaction_inputs = 10;
int64 change_output_value = 11;
Expand Down Expand Up @@ -1376,6 +1450,10 @@ message MediationDisputeList {
repeated Dispute dispute = 1;
}

message RefundDisputeList {
repeated Dispute dispute = 1;
}

enum MediationResultState {
PB_ERROR_MEDIATION_RESULT = 0;
UNDEFINED_MEDIATION_RESULT = 1;
Expand All @@ -1395,6 +1473,12 @@ enum MediationResultState {
PAYOUT_TX_SEEN_IN_NETWORK = 15;
}

//todo
enum RefundResultState {
PB_ERROR_REFUND_RESULT = 0;
UNDEFINED_REFUND_RESULT = 1;
}

///////////////////////////////////////////////////////////////////////////////////////////
// Preferences
///////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -1454,6 +1538,7 @@ message PreferencesPayload {
double buyer_security_deposit_as_percent_for_crypto = 52;
int32 block_notify_port = 53;
int32 css_theme = 54;
bool tac_accepted_v120 = 55;
}

///////////////////////////////////////////////////////////////////////////////////////////
Expand All @@ -1474,6 +1559,8 @@ message UserPayload {
Mediator registered_mediator = 11;
PriceAlertFilter price_alert_filter = 12;
repeated MarketAlertFilter market_alert_filters = 13;
repeated RefundAgent accepted_refund_agents = 14;
RefundAgent registered_refund_agent = 15;
}

///////////////////////////////////////////////////////////////////////////////////////////
Expand Down
Loading