Multibit-Legacy / multibit

Deprecated Bitcoin Wallet
https://multibit.org
MIT License
461 stars 395 forks source link

Maximum wallet size needs increasing #744

Open jim618 opened 8 years ago

jim618 commented 8 years ago

At least one user seems to be hitting a protobuf size limit: https://bitcointalk.org/index.php?topic=1303208.new#new

Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message was too large.  May be malicious.  Use CodedInputStream.setSizeLimit() to increase the size limit.
    at com.google.protobuf.InvalidProtocolBufferException.sizeLimitExceeded(InvalidProtocolBufferException.java:110)
jim618 commented 8 years ago

This is already set to 512 MB in bitcoinj-alice (WalletProtobufSerializer, line 550) so nothing to do.

Closing

Documentation of the method used:

https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/CodedInputStream#setSizeLimit(int)
jim618 commented 8 years ago

oops - closed the MultiBit Classic issue instead of the HD one.

Reopening.