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

Add to_json* / from_json* Deprecation Warnings #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

etscrivner
Copy link

@etscrivner etscrivner commented Sep 19, 2018

Addresses the first half of #267

Add deprecation warnings on Bitcoin::Protocol::Tx#to_json(_file) as well as
to Bitcoin::Protocol::Block#to_json(_file).

This causes the tests to display a lot of warnings and the tests and examples
using these methods must also be removed / revised once they are gone for good.

@etscrivner etscrivner force-pushed the add-deprecation-warning-on-to_json-methods branch from 6952eb5 to f7a9c01 Compare September 19, 2018 02:02
Addresses the first half of lian#267

Add deprecation warnings to all `to_json*` and `from_json*` methods to indicate
that these will be removed in a future release. All deprecated methods are also
moved to be near each other so they will be easier to remove in the future.

This causes the tests to display a lot of warnings and the tests and examples
using these methods must also be removed / revised once they are gone for good.
@etscrivner etscrivner force-pushed the add-deprecation-warning-on-to_json-methods branch from f7a9c01 to 9af290f Compare September 20, 2018 00:15
@etscrivner etscrivner changed the title Add to_json Deprecation Warnings Add to_json* / from_json* Deprecation Warnings Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant