Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hive
Merge requests
!150
Something went wrong on our end
Recurrent transfers feature
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Recurrent transfers feature
recurrent_transfers_class
into
develop
Overview
76
Commits
18
Pipelines
0
Changes
1
Merged
Howo
requested to merge
recurrent_transfers_class
into
develop
4 years ago
Overview
76
Commits
18
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
48ec785a
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
48ec785a
set minimum recurrence to 24 hours
· 48ec785a
Howo
authored
4 years ago
libraries/protocol/hive_operations.cpp
+
1
−
1
Options
@@ -733,7 +733,7 @@ namespace hive { namespace protocol {
validate_account_name
(
to
);
FC_ASSERT
(
amount
.
symbol
.
is_vesting
()
==
false
,
"Transfer of vesting is not allowed."
);
FC_ASSERT
(
amount
.
amount
>=
0
,
"Cannot transfer a negative amount (aka: stealing)"
);
FC_ASSERT
(
recurrence
>=
1
,
"Cannot set a transfer recurrence that is less than
one
hour"
);
FC_ASSERT
(
recurrence
>=
24
,
"Cannot set a transfer recurrence that is less than
24
hour
s
"
);
FC_ASSERT
(
memo
.
size
()
<
HIVE_MAX_MEMO_SIZE
,
"Memo is too large"
);
FC_ASSERT
(
fc
::
is_utf8
(
memo
),
"Memo is not UTF8"
);
}
FC_CAPTURE_AND_RETHROW
(
(
*
this
)
)
Loading