change setup to include additional information

This commit is contained in:
Florian Förster 2025-12-18 13:23:10 +01:00
parent 960565896c
commit 69f102442d
2 changed files with 130 additions and 44 deletions

View File

@ -7,8 +7,8 @@ from Cython.Compiler import Options
from setuptools import Extension, setup
# Cython compilation options
Options.docstrings = False
Options.embed_pos_in_docstring = False
Options.docstrings = True
Options.embed_pos_in_docstring = True
Options.annotate = False
Options.fast_fail = True
@ -38,9 +38,6 @@ ext = Extension(
ext_modules = cythonize(
[
ext,
# "src/polluck_blockchain/placeholder.py",
# "src/polluck_blockchain/placeholder_native.pyx",
# "src/polluck_blockchain/python_translate.py",
],
compiler_directives={
"language_level": 3,

View File

@ -2798,6 +2798,7 @@ int __pyx_module_is_main_dopt_pollublock_blockchain__blockchain = 0;
/* #### Code section: global_var ### */
static PyObject *__pyx_builtin_print;
/* #### Code section: string_decls ### */
static const char __pyx_k_File_src_dopt_pollublock_blockch[] = "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 1)\nplaceholder module for compilation";
/* #### Code section: decls ### */
static int __pyx_pf_26dopt_pollublock_blockchain_10blockchain_7PyBlock___cinit__(struct __pyx_obj_26dopt_pollublock_blockchain_10blockchain_PyBlock *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_nonce, PyObject *__pyx_v_data, PyObject *__pyx_v_previous_hash, PyObject *__pyx_v_from_ptr); /* proto */
static int __pyx_pf_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__(CYTHON_UNUSED struct __pyx_obj_26dopt_pollublock_blockchain_10blockchain_PyBlock *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs); /* proto */
@ -4500,6 +4501,10 @@ static int __pyx_pf_26dopt_pollublock_blockchain_10blockchain_7PyBlock___cinit__
/* Python wrapper */
static int __pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 114)");
#if CYTHON_UPDATE_DESCRIPTOR_DOC
struct wrapperbase __pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__;
#endif
static int __pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
CYTHON_UNUSED PyObject *__pyx_v_args = 0;
CYTHON_UNUSED PyObject *__pyx_v_kwargs = 0;
@ -4789,6 +4794,10 @@ static struct __pyx_obj_26dopt_pollublock_blockchain_10blockchain_PyBlock *__pyx
/* Python wrapper */
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_7__repr__(PyObject *__pyx_v_self); /*proto*/
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 137)");
#if CYTHON_UPDATE_DESCRIPTOR_DOC
struct wrapperbase __pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__;
#endif
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_7__repr__(PyObject *__pyx_v_self) {
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
PyObject *__pyx_r = 0;
@ -4941,6 +4950,10 @@ static PyObject *__pyx_pf_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__
/* Python wrapper */
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_9__str__(PyObject *__pyx_v_self); /*proto*/
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 143)");
#if CYTHON_UPDATE_DESCRIPTOR_DOC
struct wrapperbase __pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__;
#endif
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_9__str__(PyObject *__pyx_v_self) {
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
PyObject *__pyx_r = 0;
@ -5023,7 +5036,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass = {"as_dataclass", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_10as_dataclass, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 146)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass = {"as_dataclass", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_10as_dataclass};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -5233,7 +5247,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict = {"serialize_dict", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_12serialize_dict, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 156)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict = {"serialize_dict", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_12serialize_dict};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -5799,7 +5814,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize = {"bytes_serialize", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_14bytes_serialize, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 193)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize = {"bytes_serialize", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_14bytes_serialize};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -5971,7 +5987,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash = {"perform_hash", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_16perform_hash, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 204)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash = {"perform_hash", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_16perform_hash};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -6218,7 +6235,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_18__reduce_cython__, "File: <stringsource> (starting at line 1)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_18__reduce_cython__};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -6299,7 +6317,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_20__setstate_cython__, "File: <stringsource> (starting at line 3)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_20__setstate_cython__};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -7386,6 +7405,10 @@ static int __pyx_pf_26dopt_pollublock_blockchain_10blockchain_10Blockchain___cin
/* Python wrapper */
static int __pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 356)");
#if CYTHON_UPDATE_DESCRIPTOR_DOC
struct wrapperbase __pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__;
#endif
static int __pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyObject *__pyx_v_db_path = 0;
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
@ -8656,6 +8679,10 @@ static PyObject *__pyx_f_26dopt_pollublock_blockchain_10blockchain_10Blockchain_
/* Python wrapper */
static Py_ssize_t __pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_7__len__(PyObject *__pyx_v_self); /*proto*/
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 444)");
#if CYTHON_UPDATE_DESCRIPTOR_DOC
struct wrapperbase __pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__;
#endif
static Py_ssize_t __pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_7__len__(PyObject *__pyx_v_self) {
CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
Py_ssize_t __pyx_r;
@ -9101,7 +9128,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair = {"_print_key_value_pair", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_8_print_key_value_pair, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 470)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair = {"_print_key_value_pair", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_8_print_key_value_pair};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -9283,7 +9311,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks = {"print_blocks", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_10print_blocks, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 480)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks = {"print_blocks", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_10print_blocks};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -9569,7 +9598,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block = {"get_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_12get_block, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 497)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block = {"get_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_12get_block};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -9819,7 +9849,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block = {"create_genesis_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_14create_genesis_block, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 506)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block = {"create_genesis_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_14create_genesis_block};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -10071,7 +10102,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block = {"new_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_16new_block, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 529)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block = {"new_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_16new_block};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -10421,7 +10453,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate = {"validate", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_18validate, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 562)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate = {"validate", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_18validate};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -10791,7 +10824,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries = {"get_saving_entries", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_20get_saving_entries, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 590)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries = {"get_saving_entries", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_20get_saving_entries};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -11143,7 +11177,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save = {"save", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_22save, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 617)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save = {"save", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_22save};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -11752,7 +11787,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections = {"close_db_connections", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_24close_db_connections, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 632)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections = {"close_db_connections", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_24close_db_connections};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -11854,7 +11890,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load = {"load", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_26load, "File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 635)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load = {"load", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_26load};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -12453,7 +12490,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_28__reduce_cython__, "File: <stringsource> (starting at line 1)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_28__reduce_cython__};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -12534,7 +12572,8 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
PyDoc_STRVAR(__pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_30__setstate_cython__, "File: <stringsource> (starting at line 3)");
static PyMethodDef __pyx_mdef_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_30__setstate_cython__};
static PyObject *__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__(PyObject *__pyx_v_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
@ -12714,12 +12753,12 @@ static PyObject *__pyx_getprop_26dopt_pollublock_blockchain_10blockchain_7PyBloc
}
static PyMethodDef __pyx_methods_26dopt_pollublock_blockchain_10blockchain_PyBlock[] = {
{"as_dataclass", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"serialize_dict", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"bytes_serialize", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"perform_hash", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"as_dataclass", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_11as_dataclass, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_10as_dataclass},
{"serialize_dict", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_13serialize_dict, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_12serialize_dict},
{"bytes_serialize", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_15bytes_serialize, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_14bytes_serialize},
{"perform_hash", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_17perform_hash, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_16perform_hash},
{"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_19__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_18__reduce_cython__},
{"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_7PyBlock_21__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_20__setstate_cython__},
{0, 0, 0, 0}
};
@ -12935,18 +12974,18 @@ static PyObject *__pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Block
}
static PyMethodDef __pyx_methods_26dopt_pollublock_blockchain_10blockchain_Blockchain[] = {
{"_print_key_value_pair", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"print_blocks", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"get_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"create_genesis_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"new_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"validate", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"get_saving_entries", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"save", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"close_db_connections", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"load", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{"_print_key_value_pair", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_9_print_key_value_pair, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_8_print_key_value_pair},
{"print_blocks", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_11print_blocks, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_10print_blocks},
{"get_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_13get_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_12get_block},
{"create_genesis_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_15create_genesis_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_14create_genesis_block},
{"new_block", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_17new_block, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_16new_block},
{"validate", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_19validate, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_18validate},
{"get_saving_entries", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_21get_saving_entries, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_20get_saving_entries},
{"save", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_23save, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_22save},
{"close_db_connections", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_25close_db_connections, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_24close_db_connections},
{"load", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_27load, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_26load},
{"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_29__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_28__reduce_cython__},
{"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_26dopt_pollublock_blockchain_10blockchain_10Blockchain_31__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_30__setstate_cython__},
{0, 0, 0, 0}
};
@ -12954,8 +12993,8 @@ static struct PyGetSetDef __pyx_getsets_26dopt_pollublock_blockchain_10blockchai
{"difficulty", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_difficulty, __pyx_setprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_difficulty, 0, 0},
{"genesis_done", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_genesis_done, 0, 0, 0},
{"index", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_index, 0, 0, 0},
{"db_path", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_db_path, 0, 0, 0},
{"_engine", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain__engine, 0, 0, 0},
{"db_path", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain_db_path, 0, PyDoc_STR("File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 341)"), 0},
{"_engine", __pyx_getprop_26dopt_pollublock_blockchain_10blockchain_10Blockchain__engine, 0, PyDoc_STR("File: src\\dopt_pollublock_blockchain\\blockchain.pyx (starting at line 342)"), 0},
{0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
@ -13146,6 +13185,36 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock->tp_getattro = PyObject_GenericGetAttr;
}
#endif
#if CYTHON_UPDATE_DESCRIPTOR_DOC
{
PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock, "__init__"); if (unlikely(!wrapper)) __PYX_ERR(0, 87, __pyx_L1_error)
if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__.doc = __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__;
((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_2__init__;
}
}
#endif
#if CYTHON_UPDATE_DESCRIPTOR_DOC
{
PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock, "__repr__"); if (unlikely(!wrapper)) __PYX_ERR(0, 87, __pyx_L1_error)
if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__ = *((PyWrapperDescrObject *)wrapper)->d_base;
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__.doc = __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__;
((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_6__repr__;
}
}
#endif
#if CYTHON_UPDATE_DESCRIPTOR_DOC
{
PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock, "__str__"); if (unlikely(!wrapper)) __PYX_ERR(0, 87, __pyx_L1_error)
if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__ = *((PyWrapperDescrObject *)wrapper)->d_base;
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__.doc = __pyx_doc_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__;
((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_7PyBlock_8__str__;
}
}
#endif
if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock, __pyx_vtabptr_26dopt_pollublock_blockchain_10blockchain_PyBlock) < (0)) __PYX_ERR(0, 87, __pyx_L1_error)
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock) < (0)) __PYX_ERR(0, 87, __pyx_L1_error)
if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_PyBlock, (PyObject *) __pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_PyBlock) < (0)) __PYX_ERR(0, 87, __pyx_L1_error)
@ -13175,6 +13244,26 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain->tp_getattro = PyObject_GenericGetAttr;
}
#endif
#if CYTHON_UPDATE_DESCRIPTOR_DOC
{
PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain, "__init__"); if (unlikely(!wrapper)) __PYX_ERR(0, 333, __pyx_L1_error)
if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__.doc = __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__;
((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_2__init__;
}
}
#endif
#if CYTHON_UPDATE_DESCRIPTOR_DOC
{
PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain, "__len__"); if (unlikely(!wrapper)) __PYX_ERR(0, 333, __pyx_L1_error)
if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__ = *((PyWrapperDescrObject *)wrapper)->d_base;
__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__.doc = __pyx_doc_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__;
((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_26dopt_pollublock_blockchain_10blockchain_10Blockchain_6__len__;
}
}
#endif
if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain, __pyx_vtabptr_26dopt_pollublock_blockchain_10blockchain_Blockchain) < (0)) __PYX_ERR(0, 333, __pyx_L1_error)
if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain) < (0)) __PYX_ERR(0, 333, __pyx_L1_error)
if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_Blockchain, (PyObject *) __pyx_mstate->__pyx_ptype_26dopt_pollublock_blockchain_10blockchain_Blockchain) < (0)) __PYX_ERR(0, 333, __pyx_L1_error)
@ -13238,7 +13327,7 @@ namespace {
{
PyModuleDef_HEAD_INIT,
"blockchain",
0, /* m_doc */
__pyx_k_File_src_dopt_pollublock_blockch, /* m_doc */
#if CYTHON_USE_MODULE_STATE
sizeof(__pyx_mstatetype), /* m_size */
#else