Desert Snow encouraged state and local patrol officers to post seizure data along with photos of themselves with stacks of currency and drugs
Law enforcement doing their job — and bragging about it — is fine. All professions do that, it is normal.
I don't even mind them seizing the (illegal) drugs, but possession of cash is not against the law. Unfortunately, a loophole in the American legal thinking (as well as the British, which we inherited) does not provide much protection to a person's property . Nowhere near as much as to the person himself.
The Executive can seize cash, vehicles, and even real estate without Judiciary oversight or approval — and that ought to stop. Their justification — that what they are seizing things was used for "criminal activity" — comes into play, before anyone is convicted in any criminality.
That must stop. A judge may impose limitations on using of the suspect property (and fund-transfer) — the same way movement limitations are imposed on a person, while investigation is ongoing or a trial is pending. But no seizures ought to be permitted until a "Guilty" verdict is pronounced and the sentencing enumerates, what's to be seized as a punishment.
It's time to start carrying a form of money that cannot be seized by authorities. (That is, as long as you can keep your private key a secret.) Oh dear... what are the authoritarians going to do when Bitcoin adoption goes maintream?
I've noticed several design suggestions in your code.